tree: b85260aeaa7b3f0538925faacc6cd90447ac4ff1 [path history] [tgz]
  1. include/
  2. src/
  3. BUILD.gn
  4. protozero_library.gni
  5. README.md
protozero/README.md

ProtoZero

ProtoZero is a zero-copy zero-malloc append-only protobuf library. It's designed to be fast and efficient at the cost of a reduced API surface for generated stubs. The main limitations consist of:

  • Append-only interface: no readbacks are possible from the stubs.
  • No runtime checks for duplicated or missing mandatory fields.
  • Mandatory ordering when writing of nested messages: once a nested message is started it must be completed before adding any fields to its parent.

See also: Design doc.