4 ms·
Wow Cloudflare is releasing tons of cool stuff lately. I am super interested in capnp, this RPC model is super cool. I was exploring using capnp to enable RPC
by eddd-ddde 3y ago
Wow Cloudflare is releasing tons of cool stuff lately. I am super interested in capnp, this RPC model is super cool.
I was exploring using capnp to enable RPC on browser-to-server applications. I ended up using rust library for capnp and it actually worked! With the same bi-directional RPC.
I dropped it because it relied on managing rust and capnp as the end user. Not the best DX, at least at the moment.
I imagine they are doing something similar but with an extra layer of abstraction, such that any JS can just use the same interface already implemented in C++?
Structured clone with function support is amazing as well.
I've always thought there was market for user-made bindings on Cloudflare. I'm sure some amazing things are going to come from this. Personally I already have some ideas.