Y
Hacker News
new
|
ask
|
show
|
jobs
by
proto_lambda
1288 days ago
What is machine-specific about i32? It's a signed 32-bit integer, regardless of the machine you're on.
1 comments
kazinator
1287 days ago
Why not use i36 then?
link
proto_lambda
1287 days ago
Because that's not a type in Rust. I don't understand where you're going with this.
link
kazinator
1287 days ago
Why isn't that a type in Rust? It's a signed 36 bit integer, regardless of the machine you are on.
link
tialaramex
1287 days ago
There are several crates which provide this type if you want it, such as ux and num_x
link