4 ms·
Rust in Linux-Next
- fork-bomber 6y agoIIUC that patch series implements Rust wrappers to the Linux kernel APIs, perhaps for future device driver development in Rust ?
- roblabla 6y agoIt: - integrates rustc into the linux kernel build system - sets up automated binding generation to allow accessing C Kernel APIs from Rust using bindgen - Creates idiomatic rust wrappers around some of those bindings, which is meant to be used by device writers. There's more information in the Rust-for-Linux repo[0] (which is the origin for the linux in rust effort), and in the Documentation/rust[1] folder. [0] https://github.com/Rust-for-Linux/linux https://github.com/Rust-for-Linux/linux [1] https://github.com/Rust-for-Linux/linux/tree/rust/Documentation/rust https://github.com/Rust-for-Linux/linux/tree/rust/Documentat...
- rascul 6y agoSome discussion is on Reddit https://www.reddit.com/r/rust/comments/m7qq7b/rust_in_linuxnext/ https://www.reddit.com/r/rust/comments/m7qq7b/rust_in_linuxn...
- 1MachineElf 6y agoWhat does this mean for Linux on CPU architectures that are either tier 2, tier 3, or not at all supported by the Rust project?
- steveklabnik 6y agoRust will be relegated to drivers for the foreseeable future, and so they won't be affected, given that new drivers wouldn't be written in Rust for platforms that don't support Rust. In the future, who knows. Some folks are working on a GCC Rust implementation, that may be the path forward, or more LLVM backends may happen... only time will tell.
- mlindner 6y agoToo much attention is put on if something is tier 2 or tier 3. It doesn't actually say that much about if you can use Rust on the platform or not.