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

By default, but it is possible to enable integer overflow for release builds with "-C overflow-checks".



And that comes with a performance penalty. Maybe it won't, in a future version of Rust, but it does for now.


But it's about checking it compile time because of overhead not at runtime.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: