Re:Give Me Back My Monolith
by Danieru on Thursday March 14, 2019 @02:49AM
(#19386996)
FlatBuffers and then Endian concerns are gone.
[ Parent
| on HN ]
Are FlatBuffers essentially Capnproto without the RPC?
Re:Give Me Back My Monolith
by alexhutcheson on Thursday March 14, 2019 @11:08AM
(#19389883)
FlatBuffers can be used with gRPC, so they shouldn't need a separate RPC ecosystem like Cap'n Proto: https://grpc.io/blog/flatbuffers
Right, but I'm asking if FlatBuffers' approach to encoding is similar to Cap'n Proto. It seems like the answer is "yes", but I might be missing something.
They are both zero-copy, but the designs have a number of differences. I compared them back in 2014: https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-...
Disclaimers:
1) I'm the author of Cap'n Proto; I'm probably biased.
2) A lot could have changed since 2014. (Though, obviously, serialization formats need to be backwards-compatible which limits the amount they can change...)