Hacker News new | ask | show | jobs
by kleton 152 days ago
>Protobuf sounds like the wrong too This sort of use for proto is quite common at google
1 comments

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.

I agree it's not super common, but Boq's in-process RPC feature encourages this pattern.
Except it is not a remote procedure call.