mozilla :: #rust-community

8 Sep 2017
07:46snowzhey people; when should I use usize/isize vs u32/i32 or u64/i64? My take on this would be that when I have to pass a "count" or "size" to a function that I should use usize/isize because that would let me take advantage of 64 bit architectures where possible but automatically fall back to 32 bit when necessary
14:35steveklabnikusize/isize is for memory addreesses
14:36steveklabniku32/i32/u64/i64 depends on the max value of a calculation
15:50ericktsebasmagri: you okay down in MX?
9 Sep 2017
No messages
Last message: 12 days and 11 hours ago