Hacker News new | past | comments | ask | show | jobs | submit login

Just mmap C structs to files and give people the headers!




mmapping and protocol buffers are in no way comparable... You have the downsides of a predefined schema and the downsides of wasting CPU time on serializing/deserializing. What you're looking for is flatbuffers or cap'n proto which can be mmapped directly while staying independent from the ABI of the compiler.


Thanks for the links, though I stand by my snark


I still have nightmares from back when this was standard practice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: