logoalt Hacker News

mike_hearntoday at 10:04 AM1 replyview on HN

It's not new. BOMStore is a format inherited from NeXTStep. JSON didn't exist back then.

Also, it's a format designed to hold binary data. JSON can't do that without hacks like base64 encoding.

Binary file stores like this are very common in highly optimized software, which operating systems tend to be, especially if you go looking at the older parts. Windows has a similar format embedded in EXE/DLL files. Same concept: a kind of pseudo-filesystem used to hold app icons and other resources.


Replies

MrBuddyCasinotoday at 1:44 PM

You don't have to put the files in the json, you can just put them inside the gzip file. But yeah obviously these are different eras.