4 ms·
I was slightly confused by your comment; then I realized: when you say "kernel" you mean Linux, specifically. Rust can very much be used to write kernels!
by steveklabnik 8y ago
I was slightly confused by your comment; then I realized: when you say "kernel" you mean Linux, specifically. Rust can very much be used to write kernels!
- kbumsik 8y agoIndeed it can be used to write kernels, but there is not much established examples to learn how to write kernels in Rust. Experienced devs can use Rust to write kernels but learners may want to learn it in C then try Rust.
- steveklabnik 8y agoYeah, we’ve got two big projects (one embedded, one desktop) and tons of toys, and multiple tutorials. Still much smaller than C, for sure.
- woodrowbarlow 8y agoyup! sorry for the confusion. i'd also like to add that anybody who starts on a raspberry pi running linux will benefit from bootstrapped development. re-compiling the (linux!) kernel directly on the device is so much easier than setting up a cross-compile toolchain for C. eventually you'll want to have experience with cross compiling, but when you're first getting started it's a painful hurdle to overcome. cross-compiling in rust is actually getting pretty easy, though, so that's cool.