Comment

Comment by IshKebab

Great achievement. To be honest I wouldn't recommend Capnp. The C++ API is very awkward.

The zero copy parsing is less of a benefit than you'd expect - pretty unlikely you're going to want to keep your data as a Capnp data structure because of how awkward it is to use. 99% of the time you'll just copy it into your own data structures anyway.

There's also more friction with the rest of the world which has more or less settled on Protobuf as the most popular binary implementation of this sort of idea.

I only used it for serialisation. Maybe the RPC stuff is more compelling.

I really wish Thrift had taken off instead of Protobuf/gRPC. It was so much better designed and more flexible than anything I've seen before or since. I think it died mainly due to terrible documentation. I guess it also didn't have a big name behind it.

parent IshKebab 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton