News for hackers. Stuff that matters.
Re:Rust by Example by coldtea on Sunday January 15, 2017 @10:45AM (#13404471)
>In my opinion Rust's safety is overhyped and entirely dependent on good implementation of unsafe code.

That's short-sighted. Of course it's "entirely dependent on good implementation of unsafe code".

But that's inconsequential, as unsafe code in a library, especially one used by everybody, is much easier to make safe than unsafe code all around.

And after you trust an unsafe lib you use to be sound, your own safe-only code can never breach that safety. You'll be guaranteed that any issue will be on the unsafe part.

It's all about compartmentalization.

There are no comments on this comment yet.