Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Happy to see happening!

But to get the most value out of Rust, one needs to use the Cargo ecosystem too (even for kernel code!) and that will be a much bigger political quagmire.



We've got Cargo wired up in our prototype, which can let you link modules against no_std crates on crates.io: https://github.com/fishinabarrel/linux-kernel-module-rust

Probably one good end state is if the core kernel exposes appropriate safe abstractions, and vendors with out-of-tree modules (which tend to be worse at security than the main kernel) could use those APIs + things from crates.io to build their modules.

But yes, figuring out how to use useful things that aren't in libcore is one of the open questions.


Glad to hear it! I just hope Linux doesn't end up with the crates.io vendoring nightmare that the big-corps made for themselves.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: