30 year old code killed! Microsoft rewrites Windows kernel with 180,000 lines of Rust

<p>Microsoft is rewriting its core Windows libraries using the Rust programming language.May 11 &mdash; The latest Windows 11 Insider Preview release is the first to include the memory-safe programming language Rust, according to Azure Chief Technology Officer Mark Russinovich.</p> <p>&ldquo;If you&rsquo;re on the Win11 Insider ring, you&rsquo;ll get your first taste of Rust in the Windows kernel,&rdquo; Russinovich tweeted last night.</p> <p>In any case, this time it was quick: Microsoft only made its plans to replace parts of the Windows kernel with Rust code public in mid-April at the BlueHat IL 2023 security conference in Israel.</p> <p>At that time, David &ldquo;dwizzle&rdquo; Weston, director of security for the Windows operating system, announced in a presentation that Rust would officially be in the Windows kernel.</p> <p>&ldquo;In the next few weeks or months, people will start using Rust in the kernel to boot Windows, which is pretty cool. The basic goal of this work is to convert some of the system&rsquo;s C++ data types into Rust form.&rdquo;</p> <h1>Rust has made its way into the Windows kernel</h1> <p>Microsoft&rsquo;s focus is on &ldquo;killing bug classes&rdquo; and wants to take a more aggressive approach to securing more secure code. They hope to achieve this through memory-safe languages, CPU architecture changes, and a more secure subset of languages.</p> <p><a href="https://medium.com/@Aaron0928/30-year-old-code-killed-microsoft-rewrites-windows-kernel-with-180-000-lines-of-rust-f891c95959f2">Visit Now</a></p>