4 ms·
It's pretty common. All the wonderful proprietary file formats from the 90s (and probably before, and probably after) basically boil down to writing raw C stru
by jrockway 8y ago
It's pretty common. All the wonderful proprietary file formats from the 90s (and probably before, and probably after) basically boil down to writing raw C structs to disk.
You can try it yourself... mmap a file, memcpy some structs there, do the reverse ... and enjoy!
(Obviously depending on the memory layout of one C compiler on one architecture does not make for portable files. But that was never a design goal of this system.)
- beat 8y agoI spent part of the mid-1990s hacking a proprietary data streaming protocol written in lexx and yacc. It was what we had back then.