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

I'd say that rust crashes early in a strict superset of when C crashes early.

The case where rust fails to crash early is you have are using indexes into an array as a pseudo pointer, but you've "freed" the object you wanted to use and put another (of the exact same type) in it's place. If you do the same with malloc/free in C you also aren't going to crash early. But in C you can also fail to crash early because of things like "and now an object of a different type is in it's place".




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

Search: