5 ms·
I don't think that the Linux kernel has decided (yet) to allow rust code into the kernel proper, has it?
by geewee 5y ago
I don't think that the Linux kernel has decided (yet) to allow rust code into the kernel proper, has it?
- fork-bomber 5y agoIt hasn't. But the attitude towards using Rust for device driver development has now gotten very positive, especially post the recent kernel summit.
- pjmlp 5y agoGoogle has decided to go forward anyway. Just like Android Linux compiles just fine with clang for the last five years or so, it now makes use of Rust. https://source.android.com/setup/build/rust/building-rust-modules/overview https://source.android.com/setup/build/rust/building-rust-mo... If upstream ever cares to support clang or Rust, that is another matter.
- jstarks 5y agoUnless I'm missing something, that link refers to building Android user-mode components in Rust, not kernel components in Rust.
- steveklabnik 5y agoThat's correct, but it came after them rebuilding the bluetooth stack https://news.ycombinator.com/item?id=26647981 https://news.ycombinator.com/item?id=26647981
- ericbarrett 5y agoAn LWN article about Rust in Linux that's very relevant to this discussion: https://lwn.net/Articles/829858/ https://lwn.net/Articles/829858/