3 ms·
I think a lot of people might say something like "It might be OK for simple drivers, but what about something like a GPU" knowing that GPU drivers are probably
by phkahler 4y ago
I think a lot of people might say something like "It might be OK for simple drivers, but what about something like a GPU" knowing that GPU drivers are probably the most complex. But now we can use this the opposite way and say "well if they can write a GPU driver in Rust, surely it could be used for the simpler devices."
The driver complexity argument is shattered, and the blog posts suggest it's better - confirming fearless concurrency and no memory management issues! So weird that this seems to be the very first Rust written driver.
- simcop2387 4y agoIt's the first non-trivial one, but not the first entirely. The patch set I believe comes with a simple NVME driver to prove that the system itself works. I'm curious if we'll see some network drivers ported to it because of the concurrency and memory management benefits. They tend to be just as performance sensitive as GPUs and even more security focused since they pretty much explicitly handle untrusted input (externally and internally) in ways that lots of devices don't do.