30 trillion cells in a trench coat
\-
header picture: the words DONT THINK (a Chemical Brothers album cover)
profile picture: person in motorcycle gear riding a cheetah
@Valmond (... but if you want an integer type that's platform dependent, Rust _has_ usize/isize. Those are "pointer sized".)
@Valmond yeah, I now realize you were merely rephrasing what I called "default integer type". It's i32 in Rust. Not i16. But you can't name that type, it's just the default for literals.
@Valmond the conversation used to be about Rust. You asked about "default int", a concept from C/C++. I am talking about this not being a *universal* concept. It is specific to those languages.
@Valmond I'm aware of that, but that's for different languages. C/C++ don't get to define if programming in general has a "default int"
@Valmond what do you mean by default int? (Either way, probably not; there's usize though)
@Valmond i32 is indeed Rust's default integer type.