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

Daniel Micay danielmicay at gmail.com
Sun Jan 12 12:25:40 PST 2014


On Sun, Jan 12, 2014 at 2:09 PM, Owen Shepherd <owen.shepherd at e43.eu> wrote:
>
> For implementing bignum arithmetic, this is obviously a point where a
> "natural int" type would be best (probably the biggest which fits a single
> register)

If you plan on writing a competitive big integer library, then the
integer size is the least of your worries. You're going to be using
specialized instructions per-revision of different platforms not
provided outside of inline assembly or per-platform LLVM intrinsics.


More information about the Rust-dev mailing list