News for hackers. Stuff that matters.
Re:Announcing Rust 1.0 by sho_hn on Friday May 15, 2015 @06:16PM (#9554031)
This is also a general pattern in Rust, cf. unsafe blocks: You wrap code that doesn't adhere to Rust's strict rules (e.g. because it interacts with C) in unsafe { }, disabling various compiler checks and requiring you to check it for correctness manually. Unsafe-ness doesn't bubble up, though, i.e. having an unsafe block within doesn't taint, say, a function - allowing you to silo nasty things away and enforce strict checks around it.

There are no comments on this comment yet.