3 ms·
>I'm not sure there's really much of anything that it owes to C. Rust's default behavior of ignoring integer overflows when not in debug mode -to put an exampl
by flavio81 7y ago
>I'm not sure there's really much of anything that it owes to C.
Rust's default behavior of ignoring integer overflows when not in debug mode -to put an example-, put it very close to C.
- steveklabnik 7y agoThe difference is that it’s well defined as two’s compliment overflow instead of UB. That’s a big difference.