If `int` has the wrong size ...?

+1 for isize and usize because it make sense and is quite similar to C.

+1 to encourage fixed-size integer :wink:

This suffixes seems awkward but do we really need suffixes for isize and usize?

Moreover, the discussion about RFC #212 seems to favor default integer and float to i32 and f64.

Added two more int/uint related bugs (capnproto):

Of course, renaming int and uint to something more meaningful is a breaking change. Is there something plan for the Rust 1.0 milestone?

New RFC: https://github.com/1fish2/Rust-rfcs/blob/int-name/active/0000-int-name.md

Cf. https://github.com/rust-lang/rfcs/pull/161

New PR: https://github.com/rust-lang/rfcs/pull/464

1 Like

Continued in A tale of two’s complement.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.