OpenAI Codex Live Demo

OpenAI2 HN recommenders · 2021–2025
913K views · demo · dated · Uploaded 2021-08-10

OpenAI's 2021 live demo of Codex translating natural language into code, from Hello World to building a game and a Microsoft Word plugin.

HN points to it as an early, impressive demonstration that LLMs could write working code.

Watch on YouTube

6 comments from Hacker News

@howmayiannoyyou2021 · in “Machine learning’s crumbling foundations”

Really depends on the domain and the engine. OpenAI code generation is staggering ( [VIDEO] ), its summarization and classification is still very much a work in progress.

@sharemywin2021 · in “A.I. can now write its own computer code – that’s good news for humans”

Here's a pretty impressive demo. [VIDEO] I think they said it handles something like 37% of requests. Btw, don't watch it if your worried at losing your job to a computer.

RecommendsView on HN
@ghoomketu2022 · in “Ask HN: Best dev tool pitches of all time?”

I loved Openai's codex JavaScript game making live demo(1) where they actually created a fully functioning game in JavaScript using just plain old english. Kind of changed my whole view about programming and it's future. (1) [VIDEO]

Strongly recommendsView on HN
@zdenham2022 · in “Convincing ChatGPT to Eradicate Humanity with Python Code”

Yea the code on the top level is very cartoonish and almost comical. But the model can definitely produce running code. Chat GPT is a similar model that runs codex, see the demo here: [VIDEO] One point I try to get across is that once you drill deep enough into the call stack of implementing subroutines, you will start just asking it to produce code not explicitly related to the top level mission of overthrowing humanity.

@zdenham2022 · in “Convincing ChatGPT to Eradicate Humanity with Python Code”

Fair point on sensationalism, I think it's a useful hook to get folks reading and talking. There is a "Nuance" section at the bottom where I qualify most of the rah rah language. That being said, I disagree that it is that far from actually working. Check out the codex demo here: [VIDEO] This is a year old and we've made a lot of progress since then. The model is certainly capable of writing non pseudo-code, although I started hitting rate limits before I got it all the way there in my example. Edit (typos)

@killerstorm2025 · in “o3 and Grok 4 accidentally vindicate neurosymbolic AI”

That's a rather silly strawman. OpenAI demonstrated Codex - a version of GPT-3 which could write Python and JS code - in 2021, only a year after the first GPT-3 release. Here's a demo of Codex doing MS Word tasks using Python code: [LINK] Live coding demo: [VIDEO] There's also a demo of doing some data processing using Codex. The idea of using LLM to write code is rater obvious, and many people talked about it around GPT-3 or even GPT-2 release. People know that many logic tasks require search and it's rather silly to use LLM to do that. If it can generate any text it can generate Prolog code or a specification for SAT solver, and then dedicated efficient tool can handle the computation. Gary Marcus is so detached from actual research that he might have genuinely missed the 2021 version of Codex. So he might truly believe that they added Python interpreter "quietly", and it's not the big announcement of 2021. This guy is known as a clown in the industry, and for a very good reason... If he was an actual researcher he would have jumped on the opportunity to make an actual neurosymbolic demos when first language models were released - you don't actually need to wait GPT-3 to do that. But he preferred to relish in writing books claiming that the entire industry is wrong instead of actually building something.