Re:Undefined Behavior in 2017
by staticassertion on Wednesday July 05, 2017 @10:31AM
(#14702672)
I agree. This comes up a lot when discussion C/C++ - is it the compiler's fault, the developers, etc? The reality is it's irrelevant. Rust-the-language is safe but no one uses rust-the-language they use rustc. The end result is that it is possible to have memory unsafe rust code without unsafe blocks.
Rust developers should be aware of this - they're almost always incredibly trivial patterns to avoid, but only if you know about them.
Rust developers should be aware of this - they're almost always incredibly trivial patterns to avoid, but only if you know about them.