Skip to content
EventPast event

Microsoft describes an agent-assisted approach to large-scale code modernization

1 reports1 reporting sourcesLatest report

Start here

AI overview

Microsoft is using AI agents to overhaul ultra-large codebases such as Windows, migrating hundreds of millions of lines of Windows code to the Clang/LLVM toolchain, combined with static analysis, testing and formal verification. By May 2025, planning had been taken over by agents, with humans shifting to building tools for them to call; for C/C++ rewrites into Rust, from January 2025, when generated code could not compile, to September, about 30,000 lines were achieved under human guidance.

Generated by AI from reports · Updated 2026-10-27

Progress timeline

Oct 26
  1. Command Line
    Cheap code, precious trust: Microsoft's large-scale code modernization

    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.