Codex: An AI That Codes on Its Own

Codex An AI That Codes on Its Own

Programmers have a powerful new tool to make the coding process more time-efficient.

In August 2021, the artificial intelligence (AI) company OpenAI announced Codex, an AI that generates code from natural language. With Codex, programmers can now make natural language interfaces for existing applications. Codex is proficient in a wide variety of coding languages, including Python, JavaScript, Go, Perl, PHP, Ruby, Swift and TypeScript. 

To put it simply, you no longer need to know coding languages to make applications. A user can give the AI simple commands in natural language (like “hello world”) and get code corresponding to it. Let’s take a look at the pros and cons of Codex, the critiques plaguing the AI and what this AI means for the future of coding. 

Advantages of Codex

The first and the most important advantage of Codex is that it makes coding more accessible. Codex can perform tasks such as rendering webpages, launching web servers and sending emails. With AI taking over all the tedious parts, the programming process is becoming much more efficient. As per OpenAI, Codex has a 37% accuracy rate in performing coding tasks. 

OpenAI’s co-founder and CTO, Greg Brockman, says that the company sees Codex “as a tool to multiply programmers” by removing all the drudge work from programming. Codex is also great for beginner programmers since it simplifies the coding process and it is free to try, which makes it easy on the user’s pocket as well. 

Limitations of Codex

Codex is great at writing code based on user commands, but it does not know how to decompose problems. Task decomposition refers to the process of breaking down a problem into smaller parts before writing code to solve the problem. A programmer would naturally be better at this than AI because it requires complex cognitive skills. 

Codex is still a work in progress. Its code contains errors and doesn’t work 63% of the time. Another issue seen with Codex is that the code it generates can often differ vastly from the programmer’s actual intent

Critique of Codex

One of the questions that loom over Codex is whether it writes its own code or lifts pre-existing code from its training data. The AI has been trained on open-source code repositories scraped from the web. 

As a result of this, many coders have expressed concerns that Codex is taking advantage of their hard work. Thomas Smith, one of Codex’s beta testers, says that coders routinely lift functions from open source code, and thus Codex doing the same shouldn’t be a problem. 

OpenAI is hopeful about the future of Codex. Brockman believes that it can solve the problem of programmer shortage in the United States. Given its above-mentioned limitations, it is unlikely that Codex will take away the jobs of human programmers. However, if used judiciously, Codex can certainly make programmers more powerful and coding more efficient. 

Header image courtesy of OpenAI’s website


Share on facebook
Share on twitter
Share on linkedin
Share on email
Kamya Pandey
Kamya is a writer at Jumpstart. She is obsessed with podcasts, films, everything horror-related, and art.


What Is the Best Business Model for an Online Food Delivery Startup

What Is the Best Business Model for an Online Food Delivery Startup?

As per a McKinsey report, the food delivery business was worth over US$150 billion in 2021. The global food delivery markets are four to seven times larger than they were in 2018. Every day, more and more people rely on apps to get their food delivered home. It is convenient, fast and affordable for customers.

Are DAOs the Future of Work and Startups

Are DAOs the Future of Work and Startups?

In August 2021, India-based blockchain startup Polygon decided to build the country’s first decentralized autonomous organization (DAO)—an organization run by its members, without any leader, on a blockchain. With the DAO, the startup aims to give users decision-making power to influence and even map out the startup’s future.

Why Is OpenSea Worth US$13 Billion

Why Is OpenSea Worth US$13 Billion?

Online non-fungible token (NFT) marketplace OpenSea is now worth US$13 billion, following a new investment of US$300 million in a Series C finance round led by hedge fund sponsors Paradigm and Coatue. Half a year ago, OpenSea was only valued at US$1.5 billion.

Why Is the IMF Concerned about Cryptocurrency

Why Is the IMF Concerned about Cryptocurrency?

With the crypto market hitting US$3 trillion as of November 2021, it is almost impossible not to believe that we are amid a crypto boom. While investors and miners might be excited about the rising interest in crypto, there are some who do not see this as a positive step.

How Do Crypto Liquidity Pools Work

How Do Crypto Liquidity Pools Work?

Be it for startups launching Initial DEX Offerings (IDOs) on decentralized exchanges (DEX) or cryptocurrency traders—liquidity pools have become indispensable. Liquidity pools are the virtual places where trading happens and companies make money. Before understanding their mechanism, let’s take a look at what they are.