Learning to write code
![Learning to write code](https://cdn1.cdnme.se/5447227/9-3/26_64e61dfee087c31b15931424.png)
![learning to write code learning to write code](https://i.pinimg.com/736x/e0/d6/df/e0d6df10f452bc322e82b321e18e0119.jpg)
Researchers at Facebook in April 2019 published details of Aroma, a tool that uses machine learning to identify snippets of code that are functionally similar, something that could help developers write programs more quickly and avoid bugs. He’s now developing AI-generated code to produce bugs for testing security software.Ĭomputer scientists have studied ways of automatically generating code for decades, but modern AI has sparked new interest in the possibilities.
![learning to write code learning to write code](https://i.ytimg.com/vi/Z14oyI5bckA/maxresdefault.jpg)
Other products will use the models to “identify likely bugs in your code as you write it, by looking for things that are ‘surprising’ to the language model,” he says.ĭolan-Gavitt created This Code Does Not Exist, a website that asks visitors to judge whether a piece of code was written by a human or by a specialized version of GPT-2. Microsoft declined to comment on how it might use AI in its software development tools.īrendan Dolan-Gavitt, an assistant professor in the Computer Science and Engineering Department at NYU, says language models such as GPT-3 will most likely be used to help human programmers. At the software giant’s Build conference in May, Sam Altman, a cofounder of OpenAI, demonstrated how GPT-3 could auto-complete code for a developer. Microsoft invested $1 billion in OpenAI in 2019 and has agreed to license GPT-3. Some software giants seem interested too. “Developers will save time in coding, while people with no coding knowledge will also be able to develop applications,” Bektes says.Īnother company, TabNine, used a previous version of OpenAI’s language model, GPT-2, which OpenAI has released, to build a tool that offers to auto-complete a line or a function when a developer starts typing. SourceAI aims to let its users generate a wider range of programs in many different languages, thereby helping automate the creation of more software. Another company, Debuild, plans to commercialize the technology. Shortly after GPT-3 was released, one programmer showed that it could create custom web apps, including buttons, text input fields, and colors, by remixing snippets of code it had been fed. He wasn’t the first to notice the potential.
![Learning to write code](https://cdn1.cdnme.se/5447227/9-3/26_64e61dfee087c31b15931424.png)