Closed gedw99 closed 4 months ago
The reactive stream bus and factory could be extended to support browsers where you have 3 tiers:
service worker Web worker Main window.
Then a developer can reuse wasm on the server and browser.
the only thing missing is the factory that would use Message Passing which browsers use to send data across the 3 boundaries list above.
There is a spec / project to try to do this and a few implementations going on. Can dig out the URL later
That's a cool idea!
Currently, Yomo focus on wasi, Presencejs would be proper consider this.
Wanna hear more about this topic.
https://github.com/magodo/go-wasmww Is worth a look.
The reactive stream bus and factory could be extended to support browsers where you have 3 tiers:
service worker Web worker Main window.
Then a developer can reuse wasm on the server and browser.
the only thing missing is the factory that would use Message Passing which browsers use to send data across the 3 boundaries list above.
There is a spec / project to try to do this and a few implementations going on. Can dig out the URL later