team icon indicating copy to clipboard operation
team copied to clipboard

Request for library: mpsc channels library built on top of the postMessage API

Open fitzgen opened this issue 7 years ago • 2 comments

This could allow wasm to talk to js via CSP style message passing, different wasm instances to talk to each other without sharing memory, the wasm instances might even be in different threads by using web workers.

Would be awesome to see someone experiment with this by making a library!

fitzgen avatar Apr 25 '18 17:04 fitzgen

Is there any existing attempt for this library?

sendilkumarn avatar Apr 26 '18 14:04 sendilkumarn

None that I am aware of!

fitzgen avatar Apr 26 '18 18:04 fitzgen