This free AI code-completion tool now works with JavaScript as well as Python
AI coding assistant Kite helps cut down on errors while eliminating repetitive coding tasks
Writing code by hand can be difficult but thankfully the AI coding assistant Kite is here to help and the startup has recently expanded its service to also include JavaScript in addition to Python.
The company's code completion tool has supported Python for the last six years and is able to predict the next several code elements that developers are likely to type in a similar way to Google's Smart Compose suggestions in Gmail.
According to Kite, developers are 18 percent more productive on average when using its code completion tool that helps cut down on repetitive coding tasks, errors and the time developers spend searching reference documents.
- GitHub acquires JavaScript developer platform npm
- This programming language was on the brink of extinction – now it's back in fashion
- Also check out the best online Python courses
In an effort to improve security, the company has also shifted from processing code completions in the cloud to local machines to better serve developers that don't want to send their code off site.
JavaScript support
Up until now, Kite only worked with Python as adding support for additional programming languages would require the company to write a completely new symantic engine for each language. However, it is now using a natural language processing approach along with OpenAI's GPT to develop machine learning-powered autocompletion for JavaScript code. Kite also plans to add support for Google's Go programming language in the future.
The company used 22m open source JavaScript files in order to train its new deep learning model to ensure that its code completion tool works with popular JavaScript libraries and frameworks including React, Vue, Angular and Node.js.
In a blog post, head of product at Kite, Daniel Hung explained how the company's AI coding assistant can make writing JavaScript much easier for developers, saying:
Are you a pro? Subscribe to our newsletter
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
“The JavaScript ecosystem continually invents new frameworks and design patterns. These inventions make it a vibrant place to be, but it also creates the need to learn an ever-changing set of code patterns and APIs. Kite’s deep learning models have learned all of these patterns, and understand the context of your code, so Kite can predict chunks of code and put them in your completions.”
Kite for JavaScript is completely free and interested users can download it here.
- These are the best laptops for developers
Via ZDNet
After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home.