branfont Posted April 28, 2023 Share Posted April 28, 2023 Microsoft is rewriting core Windows libraries in the Rust programming language, and the more memory-safe code is already reaching developers. David "dwizzle" Weston, director of OS security for Windows, announced the arrival of Rust in the operating system's kernel at BlueHat IL 2023 in Tel Aviv, Israel, last month. "You will actually have Windows booting with Rust in the kernel in probably the next several weeks or months, which is really cool," he said. "The basic goal here was to convert some of these internal C++ data types into their Rust equivalents." Microsoft showed interest in Rust several years ago as a way to catch and squash memory safety bugs before the code lands in the hands of users; these kinds of bugs were at the heart of about 70 percent of the CVE-listed security vulnerabilities patched by the Windows maker in its own products since 2006. The Rust toolchain strives to prevent code from being built and shipped that is exploitable, which in an ideal world reduces opportunities for miscreants to attack weaknesses in software. Simply put, Rust is focused on memory safety and similar protections, which cuts down on the number of bad bugs in the resulting code. https://www.theregister.com/2023/04/27/microsoft_windows_rust/ Link to comment https://www.neowin.net/forum/topic/1428534-microsoft-is-busy-rewriting-core-windows-code-in-memory-safe-rust/ Share on other sites More sharing options...
Brandon H Supervisor Posted April 28, 2023 Supervisor Share Posted April 28, 2023 We actually put an article out on this early this morning on the front page https://www.neowin.net/news/senior-microsoft-exec-says-windows-11-kernel-will-soon-be-booting-with-rust-inside/ hellowalkman 1 Share Link to comment https://www.neowin.net/forum/topic/1428534-microsoft-is-busy-rewriting-core-windows-code-in-memory-safe-rust/#findComment-598816704 Share on other sites More sharing options...
branfont Posted April 28, 2023 Author Share Posted April 28, 2023 I didn't see it, of course I just got on the site nearly 30 minutes ago. hellowalkman 1 Share Link to comment https://www.neowin.net/forum/topic/1428534-microsoft-is-busy-rewriting-core-windows-code-in-memory-safe-rust/#findComment-598816708 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now