Hello,
New to protobuf. Like to implement it in our existing code base. We currently use cereal to serialiaze the data. We have over 100 structs/classes send over TCP/IP. However reading about protobuf I came across an issue that I wounder if other have tackled and found a solution for.
My understanding of protobuf is you defined your objects in .proto files, protobuf generates .h and .cc files (c++ in our case) creating matching classes. However most of are structs need to be POD (plain old data) because they also live in shared memory. That seems totally incompatible with protobuf. That tells me when such struct need to be protobuffed , they must be copied into a protobuf version of that struct. That sounds like a high maintenancy, high risk proposition.
Suggestion ?
Regards,
Mario