Cheap code, precious trust: Microsoft's large-scale code modernization
AI summary
Microsoft is using AI agents to transform ultra-large codebases such as Windows and Azure, including migrating the hundreds-of-millions-of-lines Windows codebase to the Clang/LLVM toolchain. The team combines agents with static analysis, testing and formal verification; by May 2025, planning work had been taken over by agents, with humans shifting to building tools for agents to call. Progress in rewriting legacy C/C++ into Rust went from generated code that could not compile in January 2025, to about 30000 lines of runnable translation achieved under human guidance in September 2025, and from February 2026 onward to modernizing large codebases with a relatively high degree of automation.