Article Details
Scrape Timestamp (UTC): 2025-12-24 03:47:01.077
Source: https://www.theregister.com/2025/12/24/microsoft_rust_codebase_migration/
Original Article Text
Click to Toggle View
Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030. Plans move to Rust, with help from AI. Microsoft wants to translate its codebase to Rust, and is hiring people to make it happen. “My goal is to eliminate every line of C and C++ from Microsoft by 2030,” Microsoft distinguished engineer Galen Hunt wrote in a recent LinkedIn post. “Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’” Hunt’s post mentions a job ad for a Principal Software Engineer who will be expected to work on the tools Microsoft is building to pull this off. “The purpose of this … role is to help us evolve and augment our infrastructure to enable translating Microsoft’s largest C and C++ systems to Rust,” Hunt wrote. Microsoft has already built some tools to make the move. “We’ve built a powerful code processing infrastructure,” Hunt wrote. “Our algorithmic infrastructure creates a scalable graph over source code at scale. Our AI processing infrastructure then enables us to apply AI agents, guided by algorithms, to make code modifications at scale.” Whoever gets the job will work within Microsoft’s Future of Scalable Software Engineering group, a team Hunt says has a mission to “build capabilities to allow Microsoft and our customers to eliminate technical debt at scale.” “We pioneer new tools and techniques with internal customers and partners, and then work with other product groups to deploy those capabilities at scale across Microsoft and across the industry,” he wrote. Unlike C and C++, Rust is a memory-safe language, meaning it uses automated memory management to avoid out-of-bounds reads and writes, and use-after-free errors, as both offer attackers a chance to control devices. In recent years, governments have called for universal adoption of memory-safe languages – and especially Rust – to improve software security. Microsoft has also called for greater use of Rust. In 2022, the CTO of the company’s Azure cloud called Rust to become the default language for new projects. Microsoft scientists have worked on a tool that automatically converts some C code to Rust. The software behemoth has also created tools to help developers write Windows drivers using Rust. Microsoft offers a vast array of products. The site MSportals.io lists over 500 active online portals for managing Microsoft products! The company also has a huge internal IT estate. The effort required to re-write all that must surely be beyond enormous. It will doubtless surface huge numbers of edge cases that automation can’t address. If you’re brave enough to want to make a contribution, the job Hunt mentions requires you to work three days a week in Microsoft’s Redmond office and pays between $139,900 and $274,800 a year.
Daily Brief Summary
Microsoft plans to replace its entire C and C++ codebase with Rust by 2030, leveraging AI and algorithms to facilitate the transition.
The initiative is led by Galen Hunt, a distinguished engineer at Microsoft, who envisions translating millions of lines of code efficiently.
Rust, a memory-safe language, is favored for its ability to prevent vulnerabilities like out-of-bounds reads and use-after-free errors.
Microsoft has developed a robust code processing infrastructure to support this transition, utilizing scalable graphs and AI agents for code modifications.
The move aligns with global calls for adopting memory-safe languages to enhance software security, reflecting a significant shift in industry standards.
A new Principal Software Engineer role is open to drive this effort, focusing on evolving Microsoft's infrastructure to support the code translation.
This ambitious project underscores Microsoft's commitment to reducing technical debt and improving security across its extensive product portfolio.