GitHub Copilot 现已可供所有人使用，但并非所有人都喜欢它
Copilot

> 
> GitHub Copilot 来了，它能帮助程序员，为他们提供人工智能的编码建议，不过，它是否会让事情变得更糟呢？
> 
> 
> 


![GitHub](/data/attachment/album/202206/26/115204xzz8uuxcxwtdcxdw.jpg)


在 2021 年，我曾花了好几个小时来翻阅 GitHub Copilot 文档，试图弄清楚如何能够加入它的技术预览计划。还好，这一切都得到了回报，我成功加入了预览计划。


而现在，它终于可供所有人使用啦！


如果你还不知道的话，[GitHub Copilot](https://copilot.github.com/) 是一个 AI 助手，可帮助你更快、更高效地编写代码。


我能想到的最类似的东西，就是你手机上的（输入法的）自动完成功能。不过，与自动完成功能不同，GitHub Copilot 编写代码，就相当于是在完成整段的句子。


### Copilot 现已可供大众使用


正如我在前面提到的，Copilot 已经处于技术预览阶段将近一年了。这意味着，GitHub 只允许非常有限数量的开发者免费使用它，以换取同意 GitHub 监控他们的使用情况，从而改进程序的最终版本。


看起来 GitHub 终于满意地向公众发布了它。现在，任何拥有 GitHub 帐户的人都应该能够使用它，尽管需要付出一定的代价（我很快就会在下面提到）。


[公告](https://github.blog/2022-06-21-github-copilot-is-generally-available-to-all-developers/) 中提到：



> 
> 直到不久前，人工智能都没有能够帮助改进代码，开发软件的过程几乎完全是手动的。现在，这种情况正在改变。今天，我很高兴地宣布，我们正在向所有个人开发者提供 [GitHub Copilot](http://copilot.github.com)。你的 AI 配对程序员来啦。
> 
> 
> —— [Thomas Dohmke](https://github.blog/author/ashtom/)，GitHub CEO
> 
> 
> 


Copilot 作为免费的编辑器扩展，已经帮助数百万开发者加快了他们的编程速度。然而，它确实是有代价的，无论是直接的还是间接的。


### GitHub Copilot 定价


与几乎所有令人兴奋的新技术一样，Copilot 对某些人来说可能过于昂贵。它将花费你 10 美元/月或 100 美元/年。


如果你是开源项目维护者或经过验证的学生，那么你可以免费使用它。


### GitHub Copilot 不道德吗？


围绕 GitHub Copilot 产品的争议巨大且令人担忧。从技术上讲，这个人工智能是使用大家托管在 GitHub 上的代码来进行训练的。


因此，基本上，GitHub 是通过使用你的代码来提供一个新产品（如果你愿意的话，还可以加点料）。而且，关于 Copilot，可别忘了，自由软件基金会（FSF）也 [建议](https://www.fsf.org/blogs/licensing/fsf-funded-call-for-white-papers-on-philosophical-and-legal-questions-around-copilot) 不要在 GitHub 上托管代码。


我们知道，企业总是喜欢利用事物，但有些人认为这应该不会直接损害托管在 GitHub 上的项目/代码。


**但是，是这样吗？**


简而言之，在 Copilot 发布后，许多开发者都分享说，他们发现 GitHub Copilot 生成了受版权保护的代码：



> 
> 我试了下 GitHub Copilot，这是一项付费服务​​，来看看它是否会使用带有限制性许可证的存储库的代码。我检查了它，看看它是否有我在之前雇主那里编写的代码，该代码有一个许可证，只允许其用于免费游戏，并且需要附加许可证。是的，它确实有。
> 
> 
> 


![图源：推特上的 Chris Green](/data/attachment/album/202206/26/115225zb1g28y82gpcpfso.png)


当然，如果我们查看 GitHub Copilot 的常见问题解答（FAQ），其中提到：



> 
> GitHub 不拥有 GitHub Copilot 生成的建议。您在 GitHub Copilot 的帮助下编写的代码属于您自己，由您自己负责。
> 
> 
> 


所以说，你为一项服务付了费，最终却为你的项目增加了不便和更多的工作？


在我看来，就简化开发者的任务而言，这听起来一点儿也不令人兴奋。


*你对此有什么想法？请在下面的评论区中分享一下吧！*




---


via: <https://news.itsfoss.com/github-copilot/>


作者：[Jacob Crume](https://news.itsfoss.com/author/jacob/) 选题：[lkxed](https://github.com/lkxed) 译者：[lkxed](https://github.com/lkxed) 校对：[校对者ID](https://github.com/%E6%A0%A1%E5%AF%B9%E8%80%85ID)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

Back in 2021, I spent hours pouring over the GitHub Copilot docs trying to figure out how I could maximize my chances of getting into the technical preview. Fortunately, this all paid off when I was accepted into the preview.

Finally, it is available for all to use!

For those of you unaware, [GitHub Copilot](https://copilot.github.com/?ref=news.itsfoss.com) is an AI assistant to help you write code faster and more efficiently.

The best comparison I can come up with is that it’s like autocomplete feature on your phone. Unlike the autocomplete feature, GitHub Copilot writes the code equivalent to complete sentences.

## Copilot is Now Available For The Masses

As I alluded to in the introduction, Copilot has been in a technical preview phase for almost a year now. This means that a very limited number of developers were allowed to use it for free, in exchange for them allowing GitHub to monitor their usage to improve the program for its final release.

It appears that GitHub is finally satisfied to release it to the public. Now, anyone with a GitHub account should be able to use it, albeit at a cost (which we will get to soon!).

The [announcement](https://github.blog/2022-06-21-github-copilot-is-generally-available-to-all-developers/?ref=news.itsfoss.com) mentioned:

Until now, AI has stopped short of improving code, leaving the process of developing software almost completely manual. That’s changing now. Today, I am thrilled to announce that we are making

[GitHub Copilot]generally available to individual developers. Your AI pair programmer is here.[Thomas Dohmke], GitHub CEO

Available as a free editor extension, Copilot has already helped millions of developers speed up their programming. However, it does come at a cost, both direct and indirect.

## GitHub Copilot Pricing

Copilot may be prohibitively expensive for some as with almost all exciting new technologies. It will cost you $10/month or $100/year.

If you are an open-source project maintainer or a verified student, you can get free access to it.

## Is GitHub Copilot Unethical?

The controversy surrounding the GitHub Copilot product is huge and concerning. Technically, the A.I have been trained using the available code on the GitHub platform.

So, basically, GitHub is offering a new product by using your code (take it with a pinch of salt, if you’d like). Not to forget, the Free Software Foundation (FSF) also [advised](https://www.fsf.org/blogs/licensing/fsf-funded-call-for-white-papers-on-philosophical-and-legal-questions-around-copilot?ref=news.itsfoss.com) against hosting code on GitHub keeping Copilot in mind.

While we know that businesses love to exploit things, some believed that it should not directly hurt the projects/code hosted at GitHub.

**But, is that the case?**

Briefly, after the launch, many developers shared how they found copyrighted code being generated by GitHub Copilot:

Of course, if we look at GitHub Copilot’s FAQ which mentions:

GitHub does not own the suggestions GitHub Copilot generates. The code you write with GitHub Copilot’s help belongs to you, and you are responsible for it.


So, ultimately, you pay for a service to add inconvenience and more work to your project?

Nothing about it sounds exciting in terms of making a developer’s task easy, in my opinion.

*What are your thoughts on it? Share what you think in the comments section below.*

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).