[rust-dev] Integer overflow, round -2147483648
bascule at gmail.com
Thu Jun 26 22:38:58 PDT 2014
On Thu, Jun 26, 2014 at 10:30 PM, Daniel Micay <danielmicay at gmail.com>
> It's a perfect example of a case where this feature wouldn't have
> helped. Performance critical loops with years of micro-optimization are
> not going to use checked arithmetic types. Every branch that the
> programmer thinks can be avoided will be avoided.
I know you're not fans of a compiler flag, but a checked debug build with
traps you can optimize out in an optimized build could've caught it.
As it were, this is what Swift provides (in addition to explicit overflow
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev