Hacker News new | past | comments | ask | show | jobs | submit login

Why is everyone assuming C is "crash early" as opposed to "undefined behaviour will crash if you're lucky and cause RCE in the worst case, or any weird thing in between". The selling point of the borrow checker (at least one of them) is that it doesn't allow undefined behaviour unless you explicitly enable unsafe operations. If there was a way to detect UB and predictably crash in a performant way, you could probably implement that in Rust as well. In fact, that's often what is done with generational indexes and similar.



[flagged]


None of those are related to anything in the post you're replying to. What point are you trying to make?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: