Legacy code resurrection: how LLMs make fixing old software more valuable than writing new
Two veteran programmers used Claude to resurrect a 1993 battle Tetris game, during which an LLM fixed an integer-width bug that never appeared even when transitioning from 32-bit to 64-bit, with surprising diagnostic clarity.
The video won't play here. Listen to the audio instead:
The argument · tap a timestamp to hear it
An unexpected sprint revealed dormant athletic talent
Bryan recalls that in 1993, when returning to school from Colorado, he chased down a moving airport shuttle bus on foot to avoid losing his only copy of the BattleTris code. After witnessing this, a frisbee teammate asked in shock if he was a fast runner, and only then did Bryan realize his athletic ability had visibly improved between freshman and sophomore year. This story explains why this game represents more than just code to him—it shows the concrete weight of his‘entire life's blood’invested in it.
— Bryan CantrillResurrecting legacy projects: the killer is uncertainty, not technique
Adam points out that the real pain of fixing such aged projects lies in this: you can see incremental progress with each step, but have no idea whether completion is fifteen minutes or six days away. If you knew upfront how long it would take, you'd start immediately; but this very uncertainty is what keeps people from touching old code in the first place.
— Adam LeventhalLLMs fix outdated assumptions, not algorithmic glory
Bryan emphasizes that what stands between resurrecting old software and‘completion’is not some elegant algorithmic puzzle, but implicit assumptions made decades ago when the code was written—assumptions that no longer hold. These problems don't feel like wins when fixed; they just restore the software to what it‘should have already done’. They draw a parallel to a Stack Overflow confusion case Theo Schlossnagle discussed: the internet is full of‘fixes’that people copy which couldn't possibly work for their own situations.
— Bryan CantrillClaude found an integer-width bug the authors never imagined
During a battle, the game crashed after stack corruption. Bryan had no debugging data except the vague description‘a nuclear swap happened’, but he gave this fuzzy description directly to Claude. Claude identified an integer-width bug that only triggers when running on 64-bit systems—yet BattleTris had never been compiled as 64-bit from creation until now. Bryan describes this as‘genuinely wild’.
— Bryan CantrillLLMs could defang license-fork anxiety for open source
Bryan connects this experience to cases like Cockroach and Terraform, where projects were‘gaslighted’into the belief that‘the community can never independently maintain a fork’. He argues that if the goal is simply to find bugs in old versions and repair bit rot, LLMs genuinely change the math: problems that might have required a month to fix are now bounded, more tractable work.
— Bryan CantrillAn LLM rewrite of your entire codebase instantly obsoletes all pending PRs
They discuss an extreme case in the Bun project: someone used an LLM to rewrite the entire codebase from Zig to Rust and merge it as a single PR, complete with unsafe code that the community viewed as clearly unsound. Bryan quips that now all the other pending PRs suddenly speak the wrong language overnight, forcing resolution of massive merge conflicts.
— Bryan CantrillThey predicted AI labs and the Pope would collaborate—and it happened
Bryan mentions a prediction he, Adam, and Simon Wilson made earlier in the year: AI labs would shift their narrative from‘this will destroy all jobs’to‘this benefits all humanity’, drawing a parallel to tobacco-company-funded medical research. As a joke, he said the next step would be getting Obama or even the Pope to co-sign an endorsement. It actually happened, and all three feel that what started as a punchline turned into reality.
— Bryan CantrillIn their own words · checked verbatim
I scream, my computer and take off after the super shuttle. And I catch up to the super shuttle after like four blocks of it driving like more or less full speed.
Bryan Cantrill5:30
you can see each incremental step, but you don't know, am I fifteen minutes away or am I six days away? And if you knew a priori, like, okay, this is gonna take three hours, four hours, a weekend, whatever, you just do it. But without that certainty, like, I ever gonna get it done?
Adam Leventhal25:40
these are the things that are implicit assumptions that was be that were being made decades ago that are now no longer correct, that don't they don't feel like vindicating to solve because you're just getting back to what it used to do, what you feel it should already do.
Bryan Cantrill29:00
I found a bug that's consistent with Stack Overflow and it would have required a weapon that I didn't think you through. And then I asked you, I was like, okay, this looks like it's definitely a bug, but it would require you to have thrown a weapon where you would have been spying on me. Bryan Cantrill: And you said you had done that.
Bryan Cantrill40:30
there was a PR to change the language that this thing is written in and like that's just got we land that. That's it. Like, oh, we're in a different language now.
Bryan Cantrill50:50
Glossary
- bit rot
- When software unchanged in itself becomes unrunnable as the interfaces and environments it depends on grow obsolete.
How to listen
Engineers interested in retro software archaeology and LLM-assisted debugging of legacy code, plus listeners just wanting to hear two old friends reminisce.
The opening ~10 minutes of nostalgic chat about ultimate frisbee team and social details can be skipped without affecting the technical content that follows.