Linux is now making an effort to incorporate rust into the Kernel and userspace #2580
Open
2 tasks done
Labels
t:correction
content corrections or errors
Affected page
https://www.privacyguides.org/en/os/linux-overview/#missing-security-features
Description
The page currently reads:
This is no longer true. The kernel's official documentation reads:
This qualifies as an effort to adopt Rust into the kernel. There isn't an intention to rewrite the entire kernel in Rust, but I'm not sure that's the intention with Windows or macOS either. Having some memory safety that comes with good guarantees is much better than having none at all.
On the userspace side, Rust is being used already.
A notable recent development is the announcement of Nova, the upcoming NVIDIA kernel driver for newer NVIDIA GPUs written in Rust. It follows the impressively fast development of NVK, a userspace NVIDIA driver which uses the NAK compiler backend written in Rust, and released this week in Mesa 24.1, now "ready for prime-time". Nouveau, the current kernel driver for NVIDIA, also uses the NAK compiler.
Notably, Asahi Linux also built and uses a GPU driver written in Rust.
Sources
https://docs.kernel.org/rust/index.html
https://rust-for-linux.com
https://rust-for-linux.com/nova-gpu-driver
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998
https://lists.freedesktop.org/archives/mesa-dev/2024-May/226222.html
https://rust-for-linux.com/apple-agx-gpu-driver
Before submitting
The text was updated successfully, but these errors were encountered: