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

Huon Wilson dbau.pp at gmail.com
Fri Jan 10 21:50:43 PST 2014


On 11/01/14 16:48, Patrick Walton wrote:
> 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.

The RFC/issue is https://github.com/mozilla/rust/issues/9940


Huon

>
> Patrick
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev



More information about the Rust-dev mailing list