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

It's undefined behavior. You can write unsafe code that's UB in both Rust and C++ (it's permitted, which I think is your objection), but those are not correct programs and they may behave in surprising ways or break when seemingly unrelated changes are made.


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

Search: