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

Patrick Walton pcwalton at mozilla.com
Fri Jan 10 21:48:40 PST 2014

On 1/10/14 9:41 PM, Corey Richardson wrote:
> The current consensus on this subject, afaik, is the rename int/uint
> to intptr/uintptr. They're awful names, but it frees up int for a
> *fast* bigint type. Fast here is key. We can't have a suboptimal
> numeric type be the recommended default. We need to perform at least
> as well as GMP for me to even consider it. Additionally we'd have
> generic numeric literals. I don't think anyone wants what we current
> have for *numerics*. Fixed-size integers are necessary for some tasks,
> but numerics is not one of them.

I wasn't aware of this consensus. I'm not sure what I think; int and 
uint as they are is pretty nice for array indexing.


More information about the Rust-dev mailing list