Graydon Hoare wrote:
(We'll also probably need or want some more general overflow-checking
attributes anyways. I've had at least 3 people react in horror when I
told them that while divide-by-zero is trapped, integer-overflow _isn't_
trapped by default in my nice "safe language" :)
+1
I tend to think that int/uint should trap on overflow, but not
i8/i16/i32/i64 etc
Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev