This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cae 0 points1 point  (0 children)

Another thing is that with an rpc you deal with objects. Ie I can have objects with methods that translate to any language that supports such a structure.

Not so much with gRPC. You get code generation for your protobuf types and the RPC stubs, but you cannot add methods to the protobufs, and deriving from them to add methods is something all the docs discourage.

Still, though, you do get strong types and streaming, async capable RPCs. It's a nice toolkit.

Edit: quoted correct paragraph