4 ms·
There's actually a very strong hobby kernel chunk of the Rust community, and it's fairly education-focused. http://os.phil-opp.com/ http://os.phil-opp.com/ kick
by steveklabnik 10y ago
There's actually a very strong hobby kernel chunk of the Rust community, and it's fairly education-focused. http://os.phil-opp.com/ http://os.phil-opp.com/ kicked it off, and my own project based on it, http://intermezzos.github.io/ http://intermezzos.github.io/ is coming along.
There's also more serious efforts: https://www.redox-os.org/ https://www.redox-os.org/ has made tremendous progress in a relatively short period of time, https://robigalia.org/ https://robigalia.org/ is an extremely interesting effort for Rust on top of seL4.
- joveian 10y agoVery cool, although not yet the same as well established production operating systems. I think Rust will be a great alternative to C in a decade and worth considering even now. In case it wasn't clear, my "to a lesser extent Rust" comment was just about my impression that Rust can more easily be used without worrying about optimization level details vs. D or Ada or C. Which is a good thing if true since Rust can also deal with the low level stuff, although possibly it is just my mistaken impression (I only actually know C out of these languages).
- steveklabnik 10y agoYeah, totally. Gotta start somewhere :) I do think that you, overall, need to care less about optimization-level-details in Rust than in those other languages. But that's because we've made it so that the default ways you do things are already plenty fast; the idea is that the nice way of doing things is also the fast way of doing things, so there's no "well, looks like I can't do it how I want, time to replace it with something gross but performant." Of course, this can still pop up from time to time, but it happens more rarely.