The latest challenge to copyleft

Copilot

© Photo by Arie Wubben on Unsplash

© Photo by Arie Wubben on Unsplash

Article from Issue 251/2021
Author(s):

GitHub's Copilot takes code autocompletion to a new level but raises copyleft licensing issues.

In a world where most people carry a cell phone, autocomplete might seem too widely used to cause contention. However, Copilot [1], a new code autocompletion service for Visual Studio Code (Figure 1), is already raising licensing issues, especially for copyleft licenses such as the different versions of the GNU General Public License (GPL) that are the backbone of free software.

Code assistants are not new. However, Copilot claims to be in a class of its own. Developed by GitHub, Copilot is built on Codex, the new AI system created by OpenAI, and trained with all the public code on GitHub in dozens of programming languages. With this backing, Copilot includes the potential to reduce the time coders take to write or find examples or to learn a new programming language. It also makes possible innovative features such as the conversion of code descriptions in comments to code, autofill for repetitive code, suggestions for code tests, and lists of alternatives, taking autocompletion to entirely new levels.

However, along with these completions comes new licensing problems. Copilot's developers quibble that it is a code synthesizer [2], not a search engine, and insist that "the vast majority of the code that it suggests is uniquely generated and has never been seen before. We found that about 0.1% of the time, the suggestion may contain some snippets that are verbatim from the training set. Many of these cases happen when you don't provide sufficient context (in particular, when editing an empty file), or when there is a common, perhaps even universal, solution to the problem. We are building an origin tracker to help detect the rare instances of code that is repeated from the training set, to help you make good real-time decisions." In other words, exact copying is rare, usually the user's fault, and should be detectable in the future.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • maddog's Doghouse

    If an artificial intelligence produces something new, who owns the new creation?

  • Write Code with AI

    Artificial intelligence is increasingly supporting programmers in their daily work. How effective are these tools? What are the dangers? And how can you benefit from AI-assisted development today?

  • Meet Free Software Pioneer Eben Moglen

    Few have had a closer view of the Free Software revolution than Eben Moglen, former lead counsel for the Free Software Foundation and founder of the Software Freedom Law Center. We asked Moglen about the legal basis for the GPL's famous copyleft protection and the long, steady effort to tell the world about the benefits of free software.

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

  • GPLv3 Comes to the Rescue of GPL Violators

    Red Hat adopts GPLv3 cure provisions to help companies fix GPL violations.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News