Linked by Thom Holwerda on Sun 26th May 2013 18:48 UTC
OSNews, Generic OSes "A tiny 32 bit kernel written in Rust. I was inspired to download Rust and try to do this after seeing zero.rs - a stub that lets Rust programs run almost freestanding. It paints the screen bright red and then hangs. That's it."
Thread beginning with comment 562952
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: I have never used rust,,,
by umccullough on Mon 27th May 2013 16:35 UTC in reply to "I have never used rust,,,"
umccullough
Member since:
2006-01-26

...but maybe someone can explain to me how this code

https://github.com/charliesome/rustboot/blob/master/main.rs

constitutes an operating system?


Well, looks like there's a few asm files there that basically bootstrap an environment that can load/run the rust runtime - at which point the contents of the .rs files are executed.

It's really not an operating system so much as it's proof that you can boot directly into a rust runtime environment without another OS... whether that rust runtime can then actually utilize all the hardware present on the machine is perhaps a more important question.

I know nothing about Rust... so <shrug>

Reply Parent Score: 3