|
|
|
|
|
by IshKebab
1419 days ago
|
|
You're referring to the fact that Capn Proto claims to be zero copy. That doesn't mean there is no serialisation overhead. In my experience with Capn Proto, the vast majority of the time the zero copy feature is pointless. The Capn Proto C++ APIs are extremely unergonomic so 99% of the time you end up copying the data into your internal nice C++ structures anyway, completely giving up zero copy. I've used Capnp quite a lot and I really wouldn't recommend it. It's quite old and complex and the unpleasantness of the API alone is enough to put me off. I would pick Protobufs every day for small amounts of data. For large amounts you are better off with SQLite or DuckDB. |
|
There's also not much out there comparable to its capability passing RPC either.
Agree on the zero copy though, and the RPC framework does malloc a lot.