[rust-dev] Remove `float` from the language

Daniel Micay danielmicay at gmail.com
Mon Jul 1 23:07:29 PDT 2013


On Tue, Jul 2, 2013 at 1:09 AM, Robert O'Callahan <robert at ocallahan.org> wrote:
> Seems to me you could quantify the performance impact of variable-width
> types. E.g. try making 'int' 32-bit on a 64-bit architecture and see how
> much it hurts. I'm suspicious they're a premature optimization.
>
> Rob

The int and uint types match the pointer size, and if they aren't the
same size the existing standard library (including things like
vectors) won't work.


More information about the Rust-dev mailing list