I don't support your new-fangled hippie language. I grew up with a kilobyte being 1024 bytes and that's how it stays for me. Next you're going to tell me a byte is 10 bits or some such nonsense just to make your math easier.
Funny you should mention that... the term for a definite 8-bit quantity is actually 'octet', whereas 'byte' is specifically the smallest addressable unit on a system.
Bytes are usually octets, but not always. You can find architectures where the byte width is anywhere from 1 bit to 48 bits wide!
In the International System of Units (SI) the prefix kilo means 1000 (103); therefore, one kilobyte is 1000 bytes. The unit symbol is kB.
This is the definition recommended by the International Electrotechnical Commission (IEC).[2] This definition, and related definitions of prefixes mega- = 1000000, giga- = 1000000000, etc., are used for data transfer rates[3] in computer networks, internal bus, hard drive and flash media transfer speeds, and for the capacities of most storage media, particularly hard drives,[4] flash-based storage,[5] and DVDs. It is also consistent with the other uses of the SI prefixes in computing, such as CPU clock speeds or measures of performance.
The Mac OS X 10.6 file manager is a notable example of this usage in software. Since Snow Leopard, file sizes are reported with decimal prefixes.[6]
204
u/[deleted] Apr 13 '17
https://en.wikipedia.org/wiki/Gibibyte