1

Microsoft delivers on its promise, Rust has arrived in the Windows 11 kernel

 1 year ago
source link: https://www.neowin.net/news/microsoft-delivers-on-its-promise-rust-has-arrived-in-the-windows-11-kernel/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Microsoft delivers on its promise, Rust has arrived in the Windows 11 kernel

Microsofts David Weston at BlueHat IL talking about Rust in Windows

Microsoft's David Weston, BlueHat IL 2023

Last month, David Weston, Vice President of Enterprise and OS Security at Microsoft, presented at the BlueHat IL 2023 conference. Although the event covered several interesting things, one of the topics that grabbed the headlines was the inclusion of Rust inside the Windows kernel. Microsoft claimed that it shouldn't be too long before we see Rust in Windows, just a few weeks or months.

Highligted by Mark Russinovich, CTO of Microsoft Azure, it looks like David Weston was not exaggerating, as tidbits of Rust code are already here inside Windows 11 Insider builds as the Win32k.sys kernel mode (KM) driver files have been ported to Rust. Win32k.sys is responsible for handling the graphics device interface (GDI) and window management on Windows.

At the presentation, Microsoft stated that there were no significant performance anomalies or regressions noted with Rust in its internal test scenarios. The Win32k's GDI port to Rust was able to pass all tests when booting on Windows. Weston explained the many reasons why Microsoft was keen on Rust inside Windows and one of those happened to be memory security.

Speaking of memory security, Microsoft released a new memory integrity/HVCI compatibility checker tool recently which you can find details about here.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK