16 ms·
> Just the fact that Rust has well defined semantics for overflows would save so much time and money This is a compile-time option in GCC and clang (fwrapv).
by blub 3y ago
> Just the fact that Rust has well defined semantics for overflows would save so much time and money
This is a compile-time option in GCC and clang (fwrapv).
- rcxdude 3y agoThe question is whether the certified version of them defines the behaviour of the flag sufficiently to be accepted as a means og achieving that outcome. It can be very difficult to do anything not endorsed by the standard, even if it's widely implemented.