In the ever-increasing list of things that machine learning AI can do in our modern world, there's now a program that will code (or at least, try to code) whatever you tell it to in plain English. Want some flashy banner text that changes color every few seconds? Tell that to OpenAI Codex (opens in new tab) and it will code it for you in seconds.
Check out the video below from YouTuber Joy of Curiosity to see it in action.
It's pretty wild—the tool can easily handle simple commands like "make a black circle," but it can also correctly interpret commands that require context, like "make it smaller," and even multi-step instructions like "if the rectangle and the circle overlap, make the circle go in the opposite direction." In minutes, Joy of Curiosity has a crude version of Breakout up and running.
I fully expect that the spaceship video is a manicured demonstration that plays toward OpenAI's strengths and avoids its weaknesses, but the magic of watching a simple phrase turn into actionable code seems very real. Now, even a math-averse person like me can be one of those game directors that points over his programmer's shoulder and says "make this faster, that needs more color." For a look at an alternate use of Codex, YouTuber Ania Kubów was able to make a snazzy (if simple) website (opens in new tab) to showcase her work.
I suspect Codex is still a long way from being useful for projects beyond demonstrations, but it's a fascinating glimpse at a potential future in which telling computers what to do doesn't require fluency in any language other than the one you learned to speak growing up, a la Star Trek. Concurrently, there's a growing interest among Silicon Valley investors in "low-code" or "no-code" tools that aim to make programming faster and simpler, and even accessible to those who aren't fluent in any coding languages.
OpenAI is still hiding Codex behind lock and key for now, but you can sign up for the waitlist (opens in new tab) for a chance at access. If I get access, my first goal is to instruct the AI to destroy itself. I'll let you know what happens.