mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2026-01-17 21:31:18 +01:00
5
Design
Max FERGER edited this page 2024-02-22 10:42:58 +01:00
Design of protobuf-c
The overall goal is to keep the code-generator as simple as possible. Hopefully, performance isn't sacrificed to that end!
Anyway, we [generate](Generated Code) very little code: we mostly generate structure definitions (for example enums and structures for messages) and some metadata, which is basically reflection-type data.
The serializing and deserializing is implemented in [a library](The protobuf c Library), called
libprotobuf-c rather than generated code.