Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
proto_lambda
· 3y ago · 0 comments
What is machine-specific about i32? It's a signed 32-bit integer, regardless of the machine you're on.
Comments
[–]
kazinator
3y ago
Why not use i36 then?
[–]
proto_lambda
OP
3y ago
Because that's not a type in Rust. I don't understand where you're going with this.
[–]
kazinator
3y ago
Why isn't that a type in Rust? It's a signed 36 bit integer, regardless of the machine you are on.
[–]
tialaramex
3y ago
There are several crates which provide this type if you want it, such as ux and num_x