yomorun / yomo

🦖 Stateful Serverless Framework for Geo-distributed Edge AI Infra
https://yomo.run
Apache License 2.0
1.64k stars 127 forks source link

Browser equivalent #599

Closed gedw99 closed 4 months ago

gedw99 commented 10 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

fanweixiao commented 10 months ago

That's a cool idea!

Currently, Yomo focus on wasi, Presencejs would be proper consider this.

Wanna hear more about this topic.

gedw99 commented 10 months ago

https://github.com/magodo/go-wasmww Is worth a look.