4 ms·
Could rust be used for low level os modules or for drivers? Why or why not?
by mrfusion 6y ago
Could rust be used for low level os modules or for drivers? Why or why not?
- steveklabnik 6y agoYes. In fact, the Linux kernel has been talking about allowing drivers to be written in Rust. (There are other examples of stuff in this space too, but that's the biggest deal so far.)
- zokula 6y agoDon't get ones hopes up about rust module code shipping with the kernel for at least a decade, or until you can build rust code with GCC.
- steveklabnik 6y agoThe kernel devs have said that that is not a blocker. (This is because what's being discussed are drivers, not the kernel itself, though they would be in the kernel tree.) And, there's been some interest towards getting gcc to be able to compile Rust too, so that may happen regardless of its need or not.