▲ | devnullbrain 5 days ago | |||||||||||||
Rust checks overflow by default in debug builds | ||||||||||||||
▲ | jeffparsons 5 days ago | parent [-] | |||||||||||||
I've often thought that I'd prefer it to check by default in release builds, too, but I understand that comes with a performance penalty that a lot of folks aren't happy with. I assume this implies that common processor architectures (x86_64, aarch64) lack trap-on-overflow variants of their integer arithmetic instructions? If the explanation really is that simple, it's pretty disappointing. | ||||||||||||||
|