• zer0@lemmy.ml
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    The use of it quite limited in the every-day coders life. People acting like they be using 500TB databases these days.

    • Doombot1@lemmy.one
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      I use uints every day at work. They’re very useful for cases when you’ve only got a single byte or two bytes to work with. E.g. an 8-bit int will only get you to a max of 127, but of course an unsigned 8-bit gets you to 255. Similar concept with 16/32/64s. Very useful when you’re working with small amounts of available memory, such as when writing code to go on ASICs.