3 ms·
> Linux kernel rather actively embraces experimental code written in Rust False. Which broken telephone did this come from? The Linux kernel has 0% Rust code i
by otabdeveloper4 5y ago
> Linux kernel rather actively embraces experimental code written in Rust
False. Which broken telephone did this come from? The Linux kernel has 0% Rust code in it and has no plans to change that.
- GauntletWizard 5y agohttps://lore.kernel.org/lkml/20210704202756.29107-1-ojeda@kernel.org/ https://lore.kernel.org/lkml/20210704202756.29107-1-ojeda@ke... - A patch to include experimental rust support, with support from Linus; I believe it's in the latest mainline HEAD.
- otabdeveloper4 5y agoRead my post again. There is 0% Rust code in the Linux kernel at the moment, and no plans to change that. (And no, "including experimental Rust support" isn't a plan to change that.) You don't need Rust to compile the kernel. What's changed now is that you could theoretically write a kernel module in Rust. (But you can, e.g., write a kernel module in C++ too, I've done it before.)