Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is perfectly safe behavior, would you prefer it slightly corrupting the destination address when transferring money through online banking?


Yes it's safe but undesirable, like Java's NullPointerException.

A more interesting question is why it was not possible to use compile time borrow checking in this particular case. It shows how valuable the borrow checker is when you can use it.


Well, yeah it's a bug just like the NullPointerException. You see how a buggy program behaves.


It's unwanted though.

I'd rather use the C++ app that doesn't crash than the Rust browser that crashes safely.

The last time I had firefox crash was over a decade ago.


I think they're just asking for it not to crash.




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

Search: