X
Business

These 11 programming languages now work with Kite's AI code-completion tool

Beyond Python and JavaScript, Kite's tool now supports 13 languages and three more are due in weeks.
Written by Liam Tung, Contributing Writer

Kite, the maker of an AI-powered tool that automatically completes lines of code, has added support for 11 new languages beyond Python and JavaScript. 

The newly supported languages consist of Java, C, C++, C#, TypeScript, Kotlin, Objective C, Scala, Go, HTML/CSS, and Less. With the 11 new languages, Kite now supports 13 languages. They're almost all among RedMonk's list of the top 20 most popular programming languages

Kite CEO Adam Smith tells ZDNet it will also roll out support for PHP, Ruby and Shell in the next few weeks.  

SEE: Hiring Kit: Python developer (TechRepublic Premium)

Kite promises to adapt to a developer's style of coding on the fly and suggest multiple tokens – the equivalent of words – without developers first having to manually define the structure of a 'sentence'.

However, Kite initially only supported Python completions because its former approach required it to build a dedicated semantic engine for each programming language. 

To speed up support for JavaScript and other languages, last year it turned to natural language processing using OpenAI's GPT-2, a model that is trained to predict the next word based on previous words in a piece of text. It's powerful enough to generate human-like written paragraphs. 

Kite then trained its deep-learning model on 22 million open-source JavaScript files to ensure its product worked with JavaScript frameworks like React, Vue, Angular, and the Node.js JavaScript runtime.

Smith says Kite tweaked GPT-2 code with "quite a bit of proprietary ranking and filtering to de-noise the completions shown by Kite".

The idea is to use machine learning to save developers time by offering suggestions to complete a line of code. Microsoft delivers this via IntelliCode, a feature of its integrated development environment (IDE) Visual Studio, which supports C#, C++, Java, Python, SQL Server, TypeScript and JavaScript, and XAML. It's also adding IntelliCode to Visual Studio Code (VS Code) code editor through language extensions.  

Kite's models for each new language are still based on GPT-2 even though OpenAI has released an even more powerful model called GPT-3 – the world's biggest neural network today – which Microsoft has licensed from OpenAI to build out its Azure AI products and services. 

Smith says Kite investigated using GPT-3 for Kite's code completion but he reckons the model is too large to fit on a developer's laptop and would create too much latency if it was deployed on a server.  

"We looked into GPT-3 when it was first announced. Basically, it is just a very large version of GPT-2. There are not major architectural differences that make GPT-3 inherently 'smarter' than GPT-2, besides a much larger model size," says Smith. 

"GPT-3 models would certainly never fit on our user's laptops. And if we deployed a GPT-3 model to a server, the latency would be too high to be useful in this context. For example, GPT-3 on OpenAI servers takes many seconds to return results. We return completions to users in under 100 milliseconds."

SEE: Programming language popularity: JavaScript leads – 5 million new developers since 2017

Kite also supports multiple code editors and IDEs, including VS Code, JetBrains' IDEs – PyCharm, IntelliJ, GoLand, Android Studio, WebStorm, CLion, PhpStorm, RubyMine, Rider, AppCode – as well as JupyterLab, Vim, Sublime, Atom, and Spyder.

The company will be boosting support for code editors and IDEs over the coming months, says Smith. 

"We added C++ support but don't have a Visual Studio integration yet. The goal is to allow as many developers as possible to take advantage of Kite, no matter their language or IDE." 

The locally installed version of Kite is free for developers and the company offers a server-powered version for enterprises that uses a GPU to enhance completions.

all-lang-blog2x.png

The Kite automatic code-completion tool adds support for 11 new languages beyond Python and JavaScript.  

Image: Kite

More on programming languages

  • 2020's fastest-rising tech jobs? Programming language PHP leads the way  
  • Programming language popularity: JavaScript leads – 5 million new developers since 2017
  • Python set to overtake Java in latest programming language rankings  
  • Microsoft: Playwright for Python language lets you test web apps in all major browsers  
  • Python programming language: Here's what's new in version 3.9 RC2
  • Python programming: Microsoft's latest beginners' course looks at developing for NASA projects  
  • Programming language popularity: Python overtakes Java – as Rust reaches top 20  
  • Top programming languages: Python still rules but old Cobol gets a pandemic bump  
  • Kotlin programming language: How Google is using it to squash the code bugs that cause most crashes  
  • Microsoft: We're pulling the plug on Windows builds of programming language PHP  
  • Kotlin programming language: Google offers free course for Android development  
  • Programming languages: Now Rust project looks for a way into the Linux kernel  
  • Programming language rankings: R makes a comeback but there's debate about its rise  
  • Programming languages: Julia touts its speed edge over Python and R  
  • Microsoft lead engineer: Programming language TypeScript took off thanks to Google's Angular  
  • JavaScript creator Eich: My take on 20 years of the world's top programming language  
  • Programming languages: Java still rules over Python and JavaScript as primary language  
  • Julia programming language: Users reveal what they love and hate the most about it    
  • Mozilla is funding a way to support Julia in Firefox
  • MIT: We're building on Julia programming language to open up AI coding to novices
  • Programming languages: Developers reveal what they love and loathe, and what pays best  
  • Programming languages: Rust enters top 20 popularity rankings for the first time  
  • Microsoft: Here's why we love programming language Rust and kicked off Project Verona  
  • Microsoft: Bosque is a new programming language built for AI in the cloud  
  • Programming languages: Python apps might soon be running on Android  
  • Is Julia the next big programming language? MIT thinks so, as version 1.0 lands TechRepublic  
  • Mozilla's radical open-source move helped rewrite rules of tech CNET
  • Editorial standards