News for hackers. Stuff that matters.
Re:gRPC vs. REST: Understand gRPC, OpenAPI and REST and When... by dlahoda on Wednesday January 22, 2025 @08:30PM (#42799599)
afaik grpc did callbacks before we got sse/ws/webrtc/webtransport. so grpc was needed kind of.

and also canonical content streaming was in grpc. in http there was no common accepted solution at old times.

Re:gRPC vs. REST: Understand gRPC, OpenAPI and REST and When... by coder543 on Wednesday January 22, 2025 @09:27PM (#42799968)
Your memory appears to be incorrect.

SSE was first built into a web browser back in 2006. By 2011, it was supported in all major browsers except IE. SSE is really just an enhanced, more efficient version of long polling, which I believe was possible much earlier.

Websocket support was added by all major browsers (including IE) between 2010 and 2012.

gRPC wasn't open source until 2015.

Re:gRPC vs. REST: Understand gRPC, OpenAPI and REST and When... by dilyevsky on Wednesday January 22, 2025 @09:17PM (#42799907)
Im old enough to have worked with asn.1 and its various proprietary “improvements” as well as SOAP/wsdl and compared to that working with protobuf/stubby (internal google predecessor to grpc) was the best thing since sliced bread
Re:gRPC vs. REST: Understand gRPC, OpenAPI and REST and When... by kybernetikos on Thursday January 23, 2025 @03:42AM (#42802037)
Even in 2025 grpc is still awful for streaming to browsers. I was doing Browser streaming via a variety of different methods back in 2006, and it wasn't like we were the only ones doing it back then.