3 ms·
If I understand it correctly, katai generates for you the reader as well, while protobuf generates only the data container. Katai is more a sort of protobuf + g
by vander_elst 6y ago
If I understand it correctly, katai generates for you the reader as well, while protobuf generates only the data container. Katai is more a sort of protobuf + grpc for reading data.
- lima 6y agoProtobufs generate readers/writers for various languages (i.e. serialization/deserializiation). gRPC is an RPC framework that uses Protobufs.
- jackjeff 6y agoBig difference is Katai is designed to parse existing binary formats like PNG, JPEG, MIDI, WAV files. Things like Protobuf can serialize/deserialize any data but it’s very opiniated about how to do this. You won’t convince it to work with existing file formats.