OpenAI Codex Live Demo
OpenAI2 HN recommenders · recommended in 2 months, 2021–2025
demo · general · 2021–2025 on HN
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.
Up next
3 mo on HNHow to Achieve Your Most Ambitious Goals | Stephen Duneier | TEDxTucson
TEDx Talks
3 HN recommender · 2018–2023
10 mo on HNTransformers, the tech behind LLMs | Deep Learning Chapter 5
3Blue1Brown
13 HN recommender · 2024–2026
8 mo on HNDeep Dive into LLMs like ChatGPT
Andrej Karpathy
10 HN recommender · 2025–2026
8 mo on HNLet's build GPT: from scratch, in code, spelled out.
Andrej Karpathy
14 HN recommender · 2023–2025
8 mo on HNA Hackers' Guide to Language Models
Jeremy Howard
8 HN recommender · 2023–2024
6 mo on HN[1hr Talk] Intro to Large Language Models
Andrej Karpathy
9 HN recommender · 2023–2026
4 mo on HNSparks of AGI: early experiments with GPT-4
Sebastien Bubeck
7 HN recommender · 2023–2026
5 mo on HNLet's build the GPT Tokenizer
Andrej Karpathy
5 HN recommender · 2024–2025
4 mo on HNAttention in transformers, step-by-step | Deep Learning Chapter 6
3Blue1Brown
5 HN recommender · 2024–2026
4 mo on HNThe A.I. Dilemma - March 9, 2023
Center for Humane Technology
11 HN recommender · 2023–2024
4 mo on HNLSTM is dead. Long Live Transformers!
Seattle Applied Deep Learning
4 HN recommender · 2020–2023
4 mo on HNAttention Is All You Need
Yannic Kilcher
4 HN recommender · 2020–2025
6 comments from Hacker News
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) ▶ this video
Here's a pretty impressive demo. ▶ this 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.
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: ▶ this 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.
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: ▶ this 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.
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: ▶ this 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)
Really depends on the domain and the engine. OpenAI code generation is staggering ( ▶ this video ), its summarization and classification is still very much a work in progress.