[rust-dev] RFC about int, uint, and 16-bit CPUs

Jerry Morrison jhm456 at gmail.com
Fri Jul 11 22:11:55 PDT 2014


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.

-- 
   Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140711/25e2294d/attachment.html>


More information about the Rust-dev mailing list