GitHub Copilot - AI pair for programmers!

GitHub Copilot - AI pair for programmers!

Are programmers in danger?

Hey Folks, I'm Sami Malik. GitHub Copilot was recently introduced by GitHub and it's news broke the internet and several concerns were raised by the testers. A new "AI pair programmer" represents a breakthrough in the third revolution of software development: the use of AI in coding.

Microsoft and OpenAI have collaborated to build an AI pair-programming system called GitHub Copilot. Copilot, now available in preview as a Visual Studio Code extension, is meant to help programmers write code faster and with less work, Microsoft officials said on June 29.

Copilot is powered by OpenAI Codex, a new AI system. Microsoft and OpenAI have been working together for the past few years on various projects; Copilot is their latest collaboration.

If the technical preview is successful, our plan is to build a commercial version of GitHub Copilot in the future. We want to use the preview to learn how people use GitHub Copilot and what it takes to operate it at scale,

GitHub officials said in a frequently asked questions (FAQ) document.

Since GitHub Copilot is available as a Visual Studio Code extension, working wherever Visual Studio Code works, on the developer’s machine or in the cloud on GitHub Codespaces. With access currently limited to a small group of testers, persons interested in trying Copilot can sign up for the Copilot waiting list.

While GitHub Copilot works with a broad set of frameworks and languages, the technical preview works “particularly well” with JavaScript, Python, TypeScript, Ruby, and Go, GitHub said. GitHub cautioned that Copilot does not always write “perfect” code, and that sometimes the suggested code will not work. Code suggested by the tool should be tested, reviewed, and vetted, like any other code, GitHub said.

GitHub-Copilot_blog-header.png

Codex was trained on billions of publicly available source code lines -- including code in public repositories on GitHub -- and on natural language, which means it can understand both programming and human languages. The Copilot editor extension sends comments and code to the Copilot service. The service uses OpenAI Codex to synthesize and then suggest both individual lines of code and whole functions, Microsoft officials explained in the FAQ.

However regarding the concerns raised by its users, Microsoft ensured that Copilot was trained only public code that is available for everyone, so it eradicates the issue of copywriting. Moreover, as it is an early product, it may not give not so accurate suggestions every time.

Note:

GitHub Copilot is still in the early stages and is not available for the public usage but rather only specific people have access to it. Moreover, to try it yourself, you can enter its waitlist to have a early access. And the jobs for programmers are not anywhere any soon.