top | item 46733088

(no title)

kleton | 1 month ago

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

discuss

order

kccqzy|1 month ago

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.

hn_go_brrrrr|1 month ago

I agree it's not super common, but Boq's in-process RPC feature encourages this pattern.