News for hackers. Stuff that matters.
Re:Lock freedom without garbage collection in Rust by evincarofautumn on Thursday August 27, 2015 @11:49PM (#10133650)
The presence of “unsafe” doesn’t make Rust unsafe. It’s memory-safe by default—you just use “unsafe” to assert to the type system that you have personally verified the invariants that the type system can’t verify. And if it turns out you were wrong and get a segfault or what have you, you can grep the code for those bits you need to verify. The enemy, as they say, is Murphy, not Machiavelli.

There are no comments on this comment yet.