3 ms·
There are drivers that exist only in Rust, so any distro that wants to support that hardware will. Like the Apple A3 silicon graphics driver. Iirc red hat and n
by steveklabnik 2y ago
There are drivers that exist only in Rust, so any distro that wants to support that hardware will. Like the Apple A3 silicon graphics driver. Iirc red hat and nvidia are also working on some Rust based drivers.
- mmooss 2y agoDo the Rust drivers provide significant benefits over C equivalents (or over typical C drivers), enough to make it worth switching? Rust may have to really prove itself with results. And why shouldn't it?
- steveklabnik 2y agoThere are no C equivalents for the drivers I’m talking about.
- mmooss 2y agoI got that - that's why I added the parenthetical. My point was the second sentence. Anyway, thanks for the input about the drivers. And for what it's worth, I expect Rust would offer significant improvements.
- steveklabnik 2y agoAh, sorry, I misunderstood you. I don’t have a link handy, but Marcan had a post about how they actually re-wrote some in progress drivers from C to Rust because it was easier to do, and so didn’t expect a c version to exist. Basically it was about how driver complexity has increased over time, and Rust helps tackle that in a way that C can’t.
- mmooss 2y agoYes, I realized later that I should add 'efficiency' (for development) to security and stability, which could also be a big win for Rust in particular.