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

I guess that's why you Rust guys don't have exceptions, so you don't have to pay this cost. </s>


(Explanation of the /s: panics use the same mechanism, so the compiler and libraries unfortunately still have to be just as defensive when they're enabled. When the compiler is in -C panic=abort mode, it doesn't suffer from this, but I don't think libraries have a great way to customise/improve their behaviour in that case at the moment.)




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

Search: