Hacker News new | ask | show | jobs
by actionfromafar 399 days ago
I don't know, but I'm struck by the observation that binary formats are "just" a special case of compression.
1 comments

Well, they're not, they're just an efficient way of encoding a subset of data. They can't compress that data, like, for example, compressing 100 x "a", unless they have a compression algorithm attached, they will just represent "a" 100 times, but more efficiently than unicode or whatever.
It's almost as you'd have compressed that string 100 into a single byte.