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 THIS STORY

Share on facebook
Share on twitter
Share on linkedin
Share on email

RELATED POSTS

What Should Employees Do in a Crisis

What Should Employees Do in a Crisis?

At the start of January 2023, a drunk man in an Air India flight’s business class urinated over a 72-year-old woman sitting beside him. The man, Shankar Mishra, was the Vice President of the financial services company Wells Fargo (he was fired following the incident). In itself, the incident is disgusting.

Top 5 AI Companies in the World

Top 5 AI Companies in the World

Technological developments are driven by the human need to make life easier and complete tasks faster and more efficiently. The drastic growth of technology in recent years has paved the way for artificial intelligence (AI) to become an integral part of almost every industry—from education and lifestyle to music and sports. It is everywhere. And by the looks of it, it is here to stay.

3 High Demand Metaverse Jobs in Future That Your Kids Should Look into

3 High Demand Metaverse Jobs in Future That Your Kids Should Look into

It’s no wonder why Jumpstart Media named “metaverse” one of the top emerging trends and technologies to look forward to in 2023. With an expected compound annual growth rate (CAGR) of 39.4% from 2022 to 2030, Grand View Research forecasts that the global metaverse market is set to expand exponentially. From fashion shows, gaming, luxury products, sports and travel to art, many industries are tapping into the metaverse’s potential.

4 Most Anticipated Tech IPOs of 2023

4 Most Anticipated Tech IPOs of 2023

The technology industry has been a driving force in shaping the global economy for decades and the initial public offerings (IPOs) of technology companies are often highly-anticipated events. In 2022, the tech IPO market saw a slowdown compared to the previous year, 2021.

5-Luxury-Items-That-Are-Worth-the-Investment

5 Luxury Items That Are Worth the Investment

The world of luxury items is one of elegance and exclusivity, with their value increasing as time passes. They are unattainable and highly coveted by the masses. Plus, luxury products have a Veblen effect on the market—as their price rises, their demand does, too.

How Do You Know When to Give Up on Your Startup?

How Do You Know When to Give Up on Your Startup?

Starting a new business is never an easy task. You put your heart into it and spend countless hours working on what you believe will make someone happy or solve society’s problems. But sometimes, startups don’t work out as planned—this can be both disheartening and discouraging.