eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

215
active users

#grpc

0 posts0 participants0 posts today

Did you know? My github.com/gokrazy/rsync module can be used as a library — both its client and its server accept the io.ReadWriter interface type :)

To demonstrate that this works and to show the flexibility this enables, I put together an rsync-over-gRPC demo:

github.com/stapelberg/rsync-ov

To be clear, this isn’t starting the samba rsync program in the background or anything like that; it’s a 100% Go implementation; memory-safe and fast! Standalone and cross-architecture! 🚀

I’ve been looking at the alternatives to Rest API’s; #GraphQL, #gRPC, #tRPC

gRPC has an interesting proto file, except for;
1️⃣ the overly complicated language generators
2️⃣ the very poor JavaScript first Typescript second mentality, building a request with classes 🤢.

GraphQL seems to fix a problem that is already fixed using http3 (just use #CaddyServer !) sending multiple requests at once.

tRPC only works for typescript mono repo’s 🚫