What is the difference between the gRPC framework and the net/rpc package of the Golang programming language?
Both gRPC and the net/rpc package are under the Google umbrella. gRPC is a "generic RPC framework" that uses ProtoBuffer to serialize and deserialize data, whilst the net/rpc package appears to be able to perform "roughly" the same thing with encoding/gob.
The question now is, what differentiates them from one another? Which of these options comes with more benefits and fewer drawbacks?
asked Jun 12, 2022