AI Just Ported SimCity in 4 Days Without Reading the Code
A developer pointed an AI at 37-year-old C code. Today it’s running in your browser. The old rules are dead.
Source: x.com
Source: x.com
TL;DR
A developer used OpenAIâs codex to port the entire SimCity (1989) C codebase to TypeScript in 4 daysâwithout reading a single line of code. This is vibe coding at scale.
Christopher Ehrlich just did something that would have taken a team of engineers months. He pointed OpenAIâs 5.3-codex at the entire SimCity (1989) C codebase and let it run. Four days later: the game works in the browser. No code reading. Minimal steering. Just a spec and an AI that wouldnât quit.
37-Year-Old Code, 4 Days, Zero Human Reading
The original SimCity codebase is brutal. Itâs assembly ported to CâWill Wrightâs original Commodore 64 code translated for the OLPC project. Ehrlich described it as âhalfway between a C codebase and a decompileââmost of the math is bitshifts, nothing is readable, the kind of thing that makes experienced engineers weep.
He ran the agent for four days on a $200/month ChatGPT subscription. Never hit rate limits.
The key technique wasnât hoping the AI got things right. Ehrlich wrote a bridge that could call the original C code, then ran property-based tests asserting his TypeScript port performed identically. The AI generated code, the tests verified it, the agent kept iterating. This isnât blind faith in AIâitâs engineering with AI as the engine and verification as the steering wheel.
This Is What Vibe Coding Actually Looks Like
Andrej Karpathy coined the term âvibe codingâ to describe what happens when you let models take the wheel and generate software. According to CNBCâs reporting, 25% of current YC startups now have 95% of their code written by AI. Theyâre reaching $10 million in revenue with teams of less than 10 people.
The SimCity port is a perfect demonstration. Ehrlich didnât need to understand how Will Wrightâs 1989 genius worked. He needed to specify what the output should be and let the agent execute. As @johnloeber pointed out, the bottleneck isnât AIâs coding abilityâitâs the humanâs ability to correctly specify what they want.
Thatâs the new skill. Not line-by-line coding. Specification and verification.
The Implications Are Staggering
Think about what this means. Every legacy codebase in existence is now potentially portableâgiven a clear spec. COBOL banking systems. Ancient government software. Classic games trapped on dead platforms.
The original SimCity ran on a Commodore 64. An empty Chrome tab takes more memory than that entire machine had. Weâre not constrained by hardware anymore. Weâre not even constrained by understanding what the code does. We just need to know what it should do.
Ehrlichâs goal isnât just nostalgia. He wants to build coop SimCity, have agents play SimCityâcreative projects that become possible when you can port a complex game in a weekend instead of a year.
Codebases will 10-100x in size because AI can tackle the endless bugs and feature backlogs humans never got to. The question isnât whether this changes everything. The question is whether youâre building with it or explaining why youâre not.
The brave new world awaits your prompt
I canât believe this new world we live in. A guy with a $200/month subscription just automated away months of tedious porting work in a long weekend. Will Wrightâs genius from 1989â37 years of gaming historyânow runs in your browser because one developer specified the right tests and let an agent run.
If youâre still skeptical about AI coding, youâre not paying attention. The question isnât whether AI will transform how we build software. Itâs whether youâll be building with it or watching from the sidelines.
Related Links
-
Original tweet from Christopher Ehrlich (@ccccjjjjeeee)
-
Micropolis open source repository (GitHub)
Comments (0)
Sign in to join the conversation.