Microsoft aims to phase out C and C++ by 2030 using AI, betting big on Rust
Microsoft is replacing C and C++ with Rust; the goal: 1 engineer, 1 month, 1 million lines of code, focusing on safety, reliability, and expanding Rust usage in Azure

A story has been making the rounds in English-language media claiming that Microsoft plans to eliminate C and C++ by 2030 and replace them with Rust. The catalyst was a post by Distinguished Engineer Galen Hunt and a job opening in CoreAI for a Principal Software Engineer to work on large-scale migration infrastructure.
However, there is a crucial caveat: following the buzz, Hunt clarified that Windows is not being entirely rewritten in Rust using AI. He was referring to a research and engineering initiative aimed at building large-scale language migration technologies, rather than a "new strategy for Windows 11 and beyond."
What is the migration plan?
Retellings often cite the same goal: 1 engineer, 1 month, 1 million lines of code. This exact phrasing appears in publications referencing a LinkedIn post and a job description that outlines the objective: to evolve the infrastructure capable of migrating Microsoft's largest C and C++ systems to Rust using a combination of algorithms and AI agents.
The irony is that with such a target, quality becomes the biggest unknown: how many of those "millions" will pass reviews, test suites, and regressions, and how many will be "migrated" only to spend weeks being debugged in production?
Why Rust specifically?
The logic is clear: Rust provides memory and thread safety at the language level, which potentially means fewer memory safety vulnerabilities—the very issues that have plagued C and C++ for years. This motive—safety and reliability—is the most common reason cited when major companies increase their Rust footprint in system components.
Microsoft has publicly stated that it is already using Rust in critical Azure components and expects its use to expand.
Why is "rewriting everything" not just ambitious, but almost an entire industry in itself?
Even if you strip away the marketing hype, the task is gargantuan:
- Legacy and dependencies: decades of code, external libraries, drivers, plugins, and partner contracts
- Test infrastructure: to prove that behavior remains identical, especially in edge cases
- Performance: system-level code often relies on the nuances of allocations, caches, and vectorization
- Migration tools: code graph analysis, safe transformations, automated patch generation, and regression root-cause tracing
- Organizational layer: training, review culture, new guidelines, new tooling, and new hiring practices
This is exactly why the word "infrastructure" keeps popping up in these reports—it's not about rewriting everything by hand.
So, is this a real Microsoft plan or an individual engineer's goal?
Based on current wording, this looks like the goal and direction of a specific group—an attempt to scale migrations using tools—rather than a public company roadmap promising "no C or C++ at Microsoft by 2030." Sources explicitly note the clarification that Windows is not being entirely rewritten in Rust via AI.
That said, the fact remains: Microsoft is indeed actively expanding its use of Rust and is hiring for Rust systems development and migration automation.
Good for them, but we should view this with a grain of salt: a bold goal for 2030 sounds great, but real victory will be measured not by millions of lines, but by the reduction in vulnerabilities.
If you are interested in AI, technology, and the future, welcome to my channel to discuss and share updates.
Translated from Russian. Original on vc.ru: Microsoft с помощью ИИ хочет убрать C и C++ к 2030, делая ставку на Rust