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."
Permalink for comment 563011
To read all comments associated with this story, please click here.
RE[5]: Comment by BBAP
by Vanders on Tue 28th May 2013 11:45 UTC in reply to "RE[4]: Comment by BBAP"
Vanders
Member since:
2005-07-06

No, it's not that: http://static.rust-lang.org/doc/rust.html#unsafe-functions

Unsafe operations are those that potentially violate the memory-safety guarantees of Rust's static semantics. Specifically, the following operations are considered unsafe:

Dereferencing a raw pointer.
Casting a raw pointer to a safe pointer type.
Calling an unsafe function.


So basically, not much different to raw pointer operations in C.

Reply Parent Score: 2