Microsoft recently added a Win32k.sys kernel mode driver file based on the rut language to the Windows 11 kernel, which was confirmed by Mark Russinovich, chief technical officer of Azure's cloud business.
Currently, this improvement has been applied in the preview version of Windows 11 Insider. Win32k.sys is mainly responsible for dealing with graphical device interface (GUI) and window management on Windows.
According to Microsoft, the Rust language hasHigh memory securityThe number of unsafe subroutines can be greatly reduced compared to clocked subroutines
In addition, the Rust code is concise and efficientIt is even more efficient than C++ in some scenarios.It is even more efficient than C++ in some scenarios.
At present, the latest preview version of Windows 11 Canary channel is Build 25357 and the Dev channel is Build 23451. The release preview version has been iterated to Build 22621.1776.
The introduction and replacement of some C++ code by Rust in the Windows 11 kernel demonstrates Microsoft's efforts to improve the security and performance of its operating system.
User comments