Re:Rust in 2016
by tomp on Friday August 14, 2015 @09:18PM
(#10063926)
That depends largely on language semantics. Ideally, a language would either guarantee that overflows can't happen (via dependent/refined types), make sure that addition is `(int8, int8) -> int16`, or guarantee modular arithmetic. In any case, the second interpretation looks overall superior.
[ Parent
| on HN ]
There are no comments on this comment yet.