Advertisement

Microsoft Targets Full C/C++ Retirement Through AI-Assisted Rust Migration

Galen Hunt, managing director of Microsoft Azure Sphere and former head of the operating systems development group at Microsoft Research, has unveiled a new research project within Microsoft's CoreAI division. The initiative combines artificial intelligence with traditional algorithms to automate the conversion of Microsoft's extensive C and C++ codebases into Rust.

Windows Drivers In Rust
Image by Microsoft

The project sets a clear objective: to eliminate C and C++ from Microsoft’s codebases entirely by the year 2030. This will reduce technical debt in large-scale software systems. Memory safety issues in C and C++ have long contributed to security vulnerabilities, and Rust’s compile-time guarantees offer a robust alternative.

One Engineer, One Million Lines

The infrastructure under development aims to empower a single engineer to translate up to one million lines of code per month. This level of automation would significantly accelerate migration efforts across Microsoft’s vast software portfolio, which includes operating systems, cloud services, and embedded platforms.

But why Rust?

Rust, known for its memory safety without a garbage collector, enforces strict compile-time checks that prevent common programming errors such as null pointer dereferences and data races. Microsoft has already adopted Rust in select security-critical components.

This announcement reveals Microsoft's far-reaching plans for the programming language. By integrating AI capabilities with foundational systems knowledge, Microsoft may modernize its legacy code much faster.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.