Not tested by me (is it safe?)
https://github.com/QuixiAI/nvdriver
(AFAIR Eric is an author of Dolphin models https://huggingface.co/ehartford)
Rust does not have better performance over C. The entire appeal of Rust is memory safety, which I would argue that GPU drivers don’t need as much as performance. This is all Hype-Slop.
I do appreciate that they’ve essentially open-sourced Nvidia’s proprietary driver, however.
I think they used Rust because it’s easier to deal for LLMs.
But there are some optimizations in Rust that are enabled by default due to borrow checker. For example, basically all variables are marked as restrict. In C nobody uses it because it’s too easy to get UB with this, but with Rust it’s free optimization. However, in Rust when you create arrays, they zero-initialized by default, while in C you can start with garbage and fill them later (you can skip zero-initialization with unsafe, but it’s rarely done).
yawn


