Hacker News new | ask | show | jobs
by kccqzy 152 days 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.

1 comments

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.