3 ms·
There is also FlatBuffers which takes Cap'n Proto ideas and brings it back to Google (http://google.github.io/flatbuffers/ http://google.github.io/flatbuffers/)
by rdtsc 12y ago
There is also FlatBuffers which takes Cap'n Proto ideas and brings it back to Google (http://google.github.io/flatbuffers/ http://google.github.io/flatbuffers/).
These encoding formats (or rather their implementation) is based on mimizing copying of data. Deep down they are based on mmap-ing memory areas. Not unlike you see the casting of blobs of memory to packed structures (but with more safety).