@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.
@fazalmajid @V0ldek @gerikson plus it's zoom as in video conferencing
@aeva@mastodon.gamedev.place this looks like it really wants to be rotated by 90°
@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.
https://doc.rust-lang.org/book/ch03-02-data-types.html