Skip Navigation
dngrs Anatol @chaos.social

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

Posts 0
Comments 6
My frustrations with Rust. Why is this the most loved language?
  • @Valmond (... but if you want an integer type that's platform dependent, Rust _has_ usize/isize. Those are "pointer sized".)

  • My frustrations with Rust. Why is this the most loved language?
  • @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.

  • My frustrations with Rust. Why is this the most loved language?
  • @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.

  • My frustrations with Rust. Why is this the most loved language?
  • @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"

  • My frustrations with Rust. Why is this the most loved language?
  • @Valmond what do you mean by default int? (Either way, probably not; there's usize though)