node-capnp icon indicating copy to clipboard operation
node-capnp copied to clipboard

WASM for hybrid implementation?

Open Ledenel opened this issue 3 years ago • 1 comments

It seems like this implementation is suffering from the bad interaction between c++ and javascript. FWIW, it may be possible to compile the serialization and rpc core to WASM (maybe some extra c++ wrapper code here?), then the interfaces are exposed natively to javascript.

Ledenel avatar Nov 16 '22 01:11 Ledenel

Have you had a look at https://github.com/jdiaz5513/capnp-ts/ ?

...rpc support is still not finished (but partially implemented), but that's going to be the better way forward.

zenhack avatar Nov 17 '22 06:11 zenhack