News for hackers. Stuff that matters.
Re:The Performance Cost of Integer Overflow Checking by masklinn on Thursday December 18, 2014 @08:03AM (#8767046)
Rust does "computer" (silently overflowing) arithmetic by default. Saturating[0] and checked[1] are optionally available but require converting to methods (and some other changes for checked as it returns an Option)

[0] http://doc.rust-lang.org/std/num/trait.Int.html#tymethod.sat...

[1] http://doc.rust-lang.org/std/num/trait.Int.html#tymethod.che...

There are no comments on this comment yet.