3 ms·
> This means that using it for the core parts may be feasible sooner rather than later, no? More like much later. There are several performance-critical patter
by quotemstr 5y ago
> This means that using it for the core parts may be feasible sooner rather than later, no?
More like much later. There are several performance-critical patterns used in the Linux kernel that are difficult to express in unsafe Rust and impossible to express in safe Rust.
See https://paulmck.livejournal.com/62436.html https://paulmck.livejournal.com/62436.html and especially https://paulmck.livejournal.com/64209.html https://paulmck.livejournal.com/64209.html
I think promoting the use of Rust for driver code is an excellent compromise.
As an aside, I'd like to see Linux go further and move many of these drivers to user space. Now that we have io_uring, old performance-based arguments for keeping certain drivers in ring 0 hold less weight.