617
this post was submitted on 04 Sep 2024
617 points (93.9% liked)
Technology
59148 readers
2260 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I guess? I just pulled that example out of my ass earlier, thinking well, hexadecimal is used heavily in computing, so maybe something with powers of 16 would do just fine.
At any rate, my point is that using a prefix system that is different and easily distinguishable from the metric SI prefixes would have been way better.
They could have easily used base 2 which is actually connected to how the hardware works and just called it something else
I realized why I didn't think of base 2 in my previous reply. For one, hexadecimal (base 16) often used in really low-level programming, as a shorthand for working in base 2 because base 2 is unwieldy. Octal (base 8) was also used, but not so much nowadays. Furthermore, even when working in base 2, they're often grouped into four bits: a nibble. A nibble corresponds to one hexadecimal digit.
Now, I suppose that we're just going to use powers of two, not base-2, so maybe it'd help if we do a comparison. Below is a table that compares some powers of two, the binary prefixes, and the system I described earlier:
Each row of the table (except for the rows for 2^10^ and 2^50^) would be requiring a new prefix if we're to be working with powers of 2 (four apart, and more if it'd be three apart instead). Meanwhile, using powers of 16 would require less prefixes, but would require larger numerals before changing over to the next prefix (a maximum of 16^4^ - 1 = 2^16^ - 1 = 65 535)
One thing that works to your argument's favor is the fact that 1024 = 2^10^. But I think that's what caused this entire MiB vs. MB confusion in the first place.
However, having said all that, I would have been happy with just using an entirely different set of prefixes, and kept the values based on 2^10^.