-1

Do the Wasm/WASI developers ever plan on implementing processes that can communicate with each other through message passing in the Wasm/WASI runtimes (without going through the JS runtime)?

Old question:

Will the WebAssembly runtime be implementing message passing between modules, or are modules going to remain stateless? Or is that something WASI processes will have eventually?

Basically what I'm asking is: Will WebAssembly/WASI runtime ever have processes that can pass messages between each other? I'm guessing that's years away, but maybe it's not even on the agenda?

Darsunuk
  • 13
  • 3
  • They are in the same JS main thread context. Why even message passing needed? They are just like other JS modules. Do JS modules ever need message passing? – Bumsik Kim May 13 '20 at 03:37

1 Answers1

0

Wasm itself is addressing this largely via the Interface Types proposal. Learn more here: https://hacks.mozilla.org/2019/08/webassembly-interface-types/

jonathanberi
  • 1,867
  • 1
  • 14
  • 24