Real example · Build apps (vibe coding)
Ported 430,000 lines of TypeScript to Rust with Copilot agents
What they did
Stephen Toub rewrote the GitHub Copilot runtime from TypeScript to Rust using the GitHub Copilot app and Copilot CLI in autopilot mode, with subagents. Each pull request swapped one component and deleted the old code; agents wrote and reviewed most of the code, while he set the architecture, split the work and made the merge calls.
How it went
He reports 128 port pull requests merged over about 14.5 weeks, roughly 832,000 lines of Rust plus 469,000 lines of Rust tests, and about 60 npm dependencies removed. He puts the token bill at about $120,000 plus roughly three weeks of his own time, and on one benchmark sessions went from 7.55 to 120 per second.
Worth knowing
Written by Microsoft about its own product, by one of its most senior engineers. He warns the speedup is for one workload only, dozens of regressions were found and fixed, he expects more remain, and an agent merge loop once nearly approved a change for a method it had deleted by mistake.
Read the original
Migrating the GitHub Copilot runtime to Rust, using Copilot ↗
github.blog · · Company blog
Attributed to the source linked below; not our own test.
Share Share on WhatsApp