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

Presumably since this language isn't C they can define it however they want to, for instance in rust std::i32::MIN.wrapping_sub(1) is a perfectly valid number.




Nim (the original one, not Nimony) compiles to C, so making basic types work differently from C would involve major performance costs.

And yet, Nim does overflow checking by default.



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

Search: