[rust-dev] Appeal for CORRECT, capable, future-proof math, pre-1.0

Tony Arcieri bascule at gmail.com
Mon Jun 9 11:50:22 PDT 2014

On Fri, Jan 10, 2014 at 9:15 PM, Lee Braiden <leebraid at gmail.com> wrote:

> http://blog.irukado.org/2014/01/an-appeal-for-correct-capable-future-proof-math-in-nascent-programming-languages/

Just wanted to mention that Swift's approach seems interesting here: by
default check for overflow consider it an error if it happened, but also
provide special operators that give you normal overflow semantics when you
need performance: &+, &-, &*, &/ and &%


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

More information about the Rust-dev mailing list