Earlier this year, stories of individual engineers using AI to rewrite massive codebases were rumors inside Big Tech.
Now Microsoft Distinguished Engineer Stephen Toub has shared how he used AI agents to rewrite 430K lines of GitHub Copilot from TypeScript to Rust.
14 weeks elapsed. ~$120K in AI tokens. ~3 weeks of his time.
He estimates it would previously have taken a team 1–2 years.
@carnage4life Has he assessed the quality of the rewrite? & if so, using what measures?
I ask, because a recent test of simple maintenance tasks on WordPress plugins resulted in remarkable failure levels.
https://arxiv.org/abs/2610.40269
When Modernization Breaks Working Code: A Single-File Study of LLMs on Legacy PHP