logoalt Hacker News

JoshMocktoday at 12:01 AM1 replyview on HN

Protobuf is a great format with a lot of benefits, but it's missing one that I wish it could support: zero-copy. The ability to transport data between processes, services and languages with effectively zero time spent on serialization and deserialization.

It appears possible in some cases but it's not universally the case. Which means that similar binary transport formats that do support zero-copy, like Cap'n Proto, offer most or all of the perks described in this post, with the addition of ensuring that serialization and deserialization are not a bottleneck when passing data between processes.


Replies

jonny_ehtoday at 12:24 AM

Is that a format/serialization issue, or library/implementation issue?

show 2 replies