Hacker News new | ask | show | jobs
by proto_lambda 1119 days ago
What is machine-specific about i32? It's a signed 32-bit integer, regardless of the machine you're on.
1 comments

Why not use i36 then?
Because that's not a type in Rust. I don't understand where you're going with this.
Why isn't that a type in Rust? It's a signed 36 bit integer, regardless of the machine you are on.
There are several crates which provide this type if you want it, such as ux and num_x