Want a Co-programmer all the time, GitHub CoPilot Is Here.

Krishna Kotni
2 min readJul 1, 2021

--

An AI powered co-programmer, that helps you complete code snippets from function names and comments.

Github Copilot Icon, and a quote.
Photo from copilot.github.com

Github copilot is a code completion engine that works on most of the programming languages, It was announced by Github and is available on VSCode as an extension.

A gif demonstrating how Github copilot helps writing code.
Gif recorded from copilot.github.com

GitHub Copilot is powered by Codex, It uses OpenAI’s GPT 3 and was trained on billion’s of lines of public codes ( Stack-overflow ). GitHub Copilot understands significantly more context than most code assistants. So, whether it’s in a docstring, comment, function name, or the code itself, GitHub Copilot uses the context you’ve provided and synthesizes the code to match your program. Together with OpenAI, GitHub Copilot was designed to get smarter at producing safe and effective code as developers use it.

How good is it?

It was benchmarked against a set of Python functions. The function bodies were blanked out and GitHub Copilot was asked to fill them. The model got it right 43% of the time on the first try, and 57% of the time when allowed 10 attempts. And it’s getting smarter all the time.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response