← Back to context

Comment by kleton

9 hours ago

>Protobuf sounds like the wrong too This sort of use for proto is quite common at google

No it’s not common for two pieces of code within a single process to communicate by serializing the protobuf into the wire format and deserializing it.

It’s however somewhat common to pass in-memory protobuf objects between code, because the author didn’t want to define a custom struct but preferred to use an existing protobuf definition.