8/01/2008

08-01-08 - 2

With my new programs "drives" and "tabdir" I'm forced to confront the question yet again of whether a kB is 1024 bytes or 1000 bytes. I'd like to go with 1000, since that's what drive makers use now. For example, my 250 GB drive is actually 233 GB in the 1024 sense. However, Windows explorer and such seem to use the 1024 kB. There's a certain merit to the 1024 as its a power of two so when you have your 32 byte objects you can fit 32 of them in 1 k, but for normal people doing file sizes and stuff 1000 makes a lot more sense, and lets you use decimals in a normal sensible way.

No comments:

old rants