3 ms·
Funny, I hated Protobufs in C. The generated code felt bloated and I was never at all happy with the memory management. We used NanoPB. This was on embedded so
by SV_BubbleTime 6y ago
Funny, I hated Protobufs in C. The generated code felt bloated and I was never at all happy with the memory management. We used NanoPB. This was on embedded so that might be a different perspective than yours.
- com2kid 6y agoWe also used NanoPB, in both C and C++. I am pretty sure we used preallocated buffers, so memory management wasn't an issue. Being able to have a set of definitions that works on all major mobile platforms was all sorts of nice.