• nous@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 hours ago

    KiB was defined decades ago… Way back in 1999. Before that it was not well defined. kb could mean binary or decimal depending on what or who was doing the measurements.

    • over_clox@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      And? I started programming back in 1996, back when most computer storage and memory measurements were generally already well defined, around the base 2 binary system.

      Floppy disks were about the only exception, 1.44MB was indeed base 10, but built on top of base 2 for cluster size. It was indeed a clusterfuck. 1.44MB was technically 1.38MiB when using modern terms.

      I do wonder sometimes how many buffer overflow errors and such are the result of ‘programmers’ declaring their arrays in base 10 (1000) rather than base 2^10 (1024)… 🤔