2 ms·
I think Rust would be a interesting (probably safer) language to write an os, embeded code in . I asked the question a few months ago in the "lets write a Ker
by acomjean 12y ago
I think Rust would be a interesting (probably safer) language to write an os, embeded code in . I asked the question a few months ago in the "lets write a Kernel" https://news.ycombinator.com/item?id=7588205 https://news.ycombinator.com/item?id=7588205.
It takes a while to write a stable OS, because a lot of things that we use in our helpful libs can't be used in Kernel space. I'm thinking of taking some time and trying to help a Rust OS project.
http://src3.org/#RHEL6-2.6.32+220.el6/lib/ http://src3.org/#RHEL6-2.6.32+220.el6/lib/
or for example Linux Kernel "string.h" (with fun ifdef)
http://src3.org/#RHEL6-2.6.32+220.el6/include/linux/string.h http://src3.org/#RHEL6-2.6.32+220.el6/include/linux/string.h
I'm sure reaching Rust 1.0 will speed things up.
Someone posted their Rust kernel
https://github.com/lexs/rust-os https://github.com/lexs/rust-os