News for hackers. Stuff that matters.
Re:Connect-Web: TypeScript library for calling RPC servers f... by hardwaresofton on Thursday August 04, 2022 @06:49PM (#32349301)
I know it's unlikely, but has anyone ever tried using protobuf + HTTP/1/2/3 with `Content-Type`? It's an experiment I've been wanting to run forever but haven't found time to.

I wonder if all the speed gains people are seeing would work just fine with reasonable `Content-Type` and maybe an extra header for intended schema.

Re:Connect-Web: TypeScript library for calling RPC servers f... by akshayshah on Thursday August 04, 2022 @07:37PM (#32349672)
This is - more or less - what the Twirp and Connect protocols are.
Re:Connect-Web: TypeScript library for calling RPC servers f... by hardwaresofton on Thursday August 04, 2022 @08:33PM (#32350101)
Ahhhhh OK great, I definitely will just read up on twirp rather than ever trying to do this myself.
Re:Connect-Web: TypeScript library for calling RPC servers f... by bufbuild on Thursday August 04, 2022 @11:48PM (#32351351)
Of course, also check out Connect :-) https://connect.build
Re:Connect-Web: TypeScript library for calling RPC servers f... by hardwaresofton on Saturday August 06, 2022 @10:41AM (#32368515)
> Simple, reliable, interoperable.

I like that.