News for hackers. Stuff that matters.
Re:State of Rust 0.11.0 by masklinn on Wednesday July 16, 2014 @01:58AM (#8040758)
> By design, Rust allows you to opt-in to this mode locally via `unsafe { ... }`;

It should be noted that contrary to e.g. Swift's -Ofast, Rust's unsafe {} does not change language semantics. It allows operations marked as unsafe (non-bounds-checked array accesses, raw pointer and pointer munging, etc…) but operations usable outside unsafe {} have the exact same semantics inside.

There are no comments on this comment yet.