I think this is great.
Pointer sized integer normal use is array indexing and should be labeled
as such. "int" make think wrongly, this is the natural type for integer
computation.
Le 12/07/2014 07:11, Jerry Morrison a écrit :
Both Issue #14758
<https://github.com/rust-lang/rust/issues/14758> (Specify that int and
uint are at least 32 bits on every CPU architecture) and Issue #9940
<https://github.com/rust-lang/rust/issues/9940> (rename `int` and
`uint` to `intptr`/`uintptr`) call for RFCs.
So RFC https://github.com/rust-lang/rfcs/pull/161 summarizes those
discussions, explains the core issue of code portability to CPUs with
smaller address spaces, conceptions and misconceptions about int/uint,
what's a "default" integer type, and proposals including coding style
for integer sizing.
Let me know what you think.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev