4 ms·
Does anyone have context on how Rust will make its way into the kernel? I'd imagine the initial motions will be pointed towards allowing Rust code to build alon
by tmountain 4y ago
Does anyone have context on how Rust will make its way into the kernel? I'd imagine the initial motions will be pointed towards allowing Rust code to build alongside the existing C codebase without friction. Is the intent to incrementally introduce new modules and subsystems in Rust after that? Is there an end goal to rewrite everything in Rust?
- Tuna-Fish 4y agoThe initial project is to build a shim out of unsafe rust that allows drivers to be written in entirely safe rust. Nothing else is targeted yet.
- tmountain 4y agoAh, okay, that makes sense.
- kryptiskt 4y agoI'm pretty sure that something like Android would start out as the first users, as they are interested and it doesn't run on any architecture that lacks Rust. There is no plans to bring it into the core of Linux.
- nicoburns 4y agoThat and Asahi Linux (which similarly only targets hardware with good Rust support). The developer who has been working on reverse engineering the Apple Silicon GPU seems to be very seriously considering writing the linux kernel driver in in Rust.