3 ms·
FlatBuffers is more suited to IPC than any other purpose.
by nly 5y ago
FlatBuffers is more suited to IPC than any other purpose.
- mananaysiempre 5y agoIt was originally designed as a game asset storage format[1], wasn’t it? Which is why the reference implementation assumes trusted input by default[2], for example, unlike Protobufs, Cap’n Proto, or SBE. [1] https://opensource.googleblog.com/2014/06/flatbuffers-memory-efficient.html https://opensource.googleblog.com/2014/06/flatbuffers-memory... [2] https://google.github.io/flatbuffers/flatbuffers_guide_use_cpp.html#autotoc_md50 https://google.github.io/flatbuffers/flatbuffers_guide_use_c...
- surajrmal 5y agoI've primarily used it as the serialization format for choice for encoding large files written to disk. The ability to mmap it and not need to read the entire file to access specific data was very useful. My understanding is that this sort of usecase is how it's typically used.