AI programming tool Copilot helps write up to 30% of code on GitHub

·2 min read

The open-source software developer GitHub says as much as 30% of newly written code on its network is being done with the help of the company's AI programming tool Copilot.

Why it matters: Copilot can look at code written by a human programmer and suggest further lines or alternative code, eliminating some of the repetitive labor that goes into coding.

Get market news worthy of your time with Axios Markets. Subscribe for free.

How it works: Copilot is built on the OpenAI Codex algorithm, which was trained on terabytes of openly available source code and can translate human language into programming language. It serves as a more sophisticated autocomplete tool for programmers.

  • "We hear a lot from our users that their coding practices have changed using Copilot," says Oege de Moor, VP of GitHub Next, the team rolling out Copilot. "Overall, they're able to become much more productive in their coding."

Between the lines: The company will announce at its GitHub Universe conference today that it will be rolling out Copilot support for all popular programming languages, including Java.

  • "This is going to help bring this technology to a much broader audience," says de Moor, adding that it is part of GitHub's effort to "make programming accessible to the next 200 million developers."

  • De Moor also notes that Copilot has proven sticky with the community's base — 50% of the developers who have tried the product since its launch in July have kept using it.

The catch: Not unlike OpenAI's massive text-generating natural language product GPT-3, Copilot is much more effective in augmenting human work than in creating its own code.

  • Like any algorithm, it is dependent on the quality of its training data. In a study, a group of academics from New York University found 40% of the code produced by Copilot had cybersecurity flaws.

  • Yes, but: Humans are far from perfect either — by one estimate, the average developer creates 70 bugs per 1,000 lines of code.

The bottom line: Even as Copilot improves, human programmers won't be out of a job. Demand for software developers grew 25% in 2020, and most programmers spend less than half of their working time actually writing code.

More from Axios: Sign up to get the latest market trends with Axios Markets. Subscribe for free

Our goal is to create a safe and engaging place for users to connect over interests and passions. In order to improve our community experience, we are temporarily suspending article commenting