3 ms·
Despite everyone hating on the AI slop (I myself hate AI slop), I am excited about cap'n web and am jonesing to try it out in rust so I will take a look! I'd l
by monadoid 1y ago
Despite everyone hating on the AI slop (I myself hate AI slop), I am excited about cap'n web and am jonesing to try it out in rust so I will take a look!
I'd love to see (might try to add on) an optional type layer: define contracts as json schema or JTD or something? Does something like this already exist - maybe you could use protobufs ontop of this? Would be nice to make it so that you didn't need to share types between client / server out of band, something like an openapi spec allows all clients (not just those you are in control of) to have types!
- mort96 1y agoTo be honest, I don't really understand the point of Cap'n Web.. it's a slightly better JSON-RPC I guess? I'm a fan of Cap'n Proto, but I don't understand how Cap'n Web is in any way related to it nor what makes it a big deal.
- nextaccountic 1y agoThe selling point is promise pipelining, being able to do many chained operations with a single api call This includes the freaky way they found to make this work with map
- brian_meek 1y agoOP here, and yes, the chained operations are excellent. Having built this, and now using it some pet projects, that is the part I'm finding valuable.