2 ms·
It works oob - the browser can directly talk to twirp service. I used it because I basically wanted end-to-end type-safety without any infrastructure overhead
by lf-non 5y ago
It works oob - the browser can directly talk to twirp service.
I used it because I basically wanted end-to-end type-safety without any infrastructure overhead and additional decode-encode hops in betweeen.
- jenny91 5y agoAh, but it's not gRPC compatible then; just very similar and uses the same proto syntax for services and messages?
- lf-non 5y agoYes, its an alternative. protobuf is a lower level specification that supports defining typed services. It does not dictate things like transport mechanism or other implementation details. There are multiple protobuf compatible RPC implementations, gRPC obviously being the most popular one, twirp being another.