←back to thread

153 points michaelanckaert | 1 comments | | HN request time: 0.201s | source
Show context
pknopf ◴[] No.23489295[source]
I firmly believe GraphQL is a fad. It will never work, exposing the ORM to your clients.

I'm curious, why don't we see more public-facing APIs using gRPC?

replies(2): >>23490498 #>>23497596 #
1. iso-8859-1 ◴[] No.23490498[source]
gRPC is awkward on web because it assumes HTTP/2. The web is still half HTTP/1. Also, gRPC does almost everything, but not quite, it doesn't know how to synchronize state in general. It is a heavy weight choice considering that you may only need protobuf. And protobuf is not natively supported in browsers, web devs can't agree on serialization libs, they can only agree on the serialization format. And they didn't choose protobuf ;)