Home > News content

Replace C++ Microsoft rewrite Win11 kernel: performance improvement!

via:中关村在线     time:2023/5/13 6:02:54     readed:185

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.

性能提升!微软重写Win11内核 使用Rust语言取代C++

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.

性能提升!微软重写Win11内核 使用Rust语言取代C++

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.

translate engine: Tencent

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments