News for hackers. Stuff that matters.
Re:Null Pointer Dereferencing Causes Undefined Behavior by jerven on Monday April 20, 2015 @07:10PM (#9411388)
Rust does not have undefined behaviours in the sense of C. C and C++ are rather unique in the very large amount of undefined behaviour that is in common use. A nice comment pcwalton https://news.ycombinator.com/item?id=7601944 gives a better explanation than I can.

The undefined behaviour in C is in my opinion a bad design that unfortunately poisoned a whole lot of software for minor gains in speed somewhere. A mistake that did not need to have become popular but for chance in history.

There are no comments on this comment yet.