Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kazinator
· 3y ago · 0 comments
Why do I need to see machine-specific types like i32 in a lecture about closures?
Comments
[–]
proto_lambda
3y ago
What is machine-specific about i32? It's a signed 32-bit integer, regardless of the machine you're on.
[–]
kazinator
OP
3y ago
Why not use i36 then?
[–]
proto_lambda
3y ago
Because that's not a type in Rust. I don't understand where you're going with this.
[–]
kazinator
OP
3y ago
Why isn't that a type in Rust? It's a signed 36 bit integer, regardless of the machine you are on.