News for hackers. Stuff that matters.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by srssays on Thursday March 30, 2017 @07:23AM (#13994438)
> Well, no. If we're going to be pedantic, we should say MiB (mebibytes), because file sizes on disk are expressed in multiples of powers of 2,

Not true anymore. OS X (and I assume iOS) reports sizes in power-of-10 units.

If you think about it, it is really user-hostile to express file sizes as powers-of-two. Who can remember that a "GiB" is 1073741824 bytes?

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Thursday March 30, 2017 @05:04PM (#13998841)
I didn't know OS/X used the decimal prefixes, but that just means it's less true, not untrue. There are still many more systems out there that use the binary prefix. I imagine most *nix, and not sure about Windows. And RAM is still power of 2.

I don't think it's terribly user hostile to express sizes as powers of two when you work with these kinds of numbers for a living, especially when it's near the bare metal (Erlang binary data type FTW!)

But I do think it's user hostile to have two different units depending on what you're looking at. If it were all decimal or all binary, it would be much easier.