[rust-dev] Integer overflow, round -2147483648

Tony Arcieri bascule at gmail.com
Sat Jun 21 17:16:27 PDT 2014


On Sat, Jun 21, 2014 at 4:55 PM, Benjamin Striegel <ben.striegel at gmail.com>
wrote:

> In addition, bringing up hypothetical CPU architectures with support for
> checked arithmetic is not relevant. Rust is a language designed for 2014,
> not for 2024.
>

So why not do the safe thing by default (which future CPUs may make fast),
and provide a secondary mechanism to get the "unsafe" fast path?

-- 
Tony Arcieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140621/89385c7b/attachment.html>


More information about the Rust-dev mailing list