solidot新版网站常见问题,请点击这里查看。

微软发布代码允许开发者用 Rust 开发 Windows 驱动

开发者 微软
Wilson (42865)发表于 2023年09月26日 17时26分 星期二

来自科玛
微软在 GitHub 上发布了代码库 windows-drivers-rs,允许开发者用 Rust 语言开发 Windows 驱动程序。Rust 是一种高性能、内存安全语言,而软件项目的大部分漏洞都属于内存安全 bug。自 2006 年以来微软在 Windows 中修复的漏洞大约七成是内存安全漏洞。微软此前披露正在用 Rust 语言重写核心 Windows 库,Windows 操作系统安全总监 David "dwizzle" Weston 今年早些时候在以色列特拉维夫举行的 BlueHat IL 2023 上宣布了 Rust 代码进入内核的消息。最新公布的 Rust 驱动开发工具支持 WDM (Windows Driver Model) 和 WDF (Windows Driver Framework) 驱动。


https://devclass.com/2023/09/25/microsoft-posts-early-stages-code-for-developing-windows-drivers-in-rust/
https://github.com/microsoft/windows-drivers-rs