Microsoft wants to replace all C/C++ code with Rust by the end of 2030.
An engineer from Microsoft has shared an ambitious strategy on his LinkedIn page: to replace every line of C and C++ at Microsoft with Rust by 2030.
Unleashing AI on it
He writes: “Our strategy is to combine AI and algorithms to rewrite Microsoft’s largest databases. To accomplish this almost unimaginable task, we have built a powerful infrastructure for code processing. This creates a scalable graph of the source code, allowing AI agents to perform code modifications on a large scale.”
Why switch?
However, Microsoft has been working on this process for some time. In 2023, the tech giant was already working on converting the core code of Windows from C/C++ to Rust. However, the Windows drivers in Rust are not yet ready. The White House and Google have also distanced themselves from the outdated programming languages.
The main reason for the switch is that Rust is a memory-safe language. Rust has built-in mechanisms to protect memory from unsafe use. This makes it virtually impossible for developers to accidentally write harmful bugs into the core of a software. This should ensure that software is safer and more stable.
read also
