Hi Kenton,
I wonder how faster than protobuf capnproto really is. I think of the scenario I want to write a struct to a file or send it over the network. IO will be the bottleneck, specially for large structs. Since capnproto serialization takes more bytes (while unpacked) then protobuf serialization, will it be faster still? What happens when packing is used? The time consumed by packing and writing is still faster than protobuf writing?
For the case scenario where shared memory for IPC, I guess there is no performance difference between capnproto and protobuf. Right?
Makes sense. It's exciting.
Reading the encoding documentation, I could not really picture how capnproto objects look like in memory. Perhaps an example would help (like protobuf doc has).
Also, browsing the source code i could not find examples of generated code. I think would help people willing to add support for other languages.
Makes sense. It's exciting.
Reading the encoding documentation, I could not really picture how capnproto objects look like in memory. Perhaps an example would help (like protobuf doc has).
Also, browsing the source code i could not find examples of generated code. I think would help people willing to add support for other languages.