firefly icon indicating copy to clipboard operation
firefly copied to clipboard

Implement WebAssembly backend

Open bitwalker opened this issue 7 years ago • 2 comments

  • [ ] Tooling to generate browser bundle (everything needed to run in the browser) from compiled WASM module
  • [x] Flesh out runtime support (via web-sys/js-sys)

bitwalker avatar Dec 07 '18 15:12 bitwalker

For browser bundle, look at wasm-pack build to see what we want to use or borrow from it.

KronicDeth avatar Jun 10 '19 21:06 KronicDeth

The Web loop for the scheduler is invoked with lumen_web::start in #206. Getting code to run in that scheduler in the background is done with lumen_web::wait::with_return_0::spawn.

All my stuff is still using wasm-pack build though, so nothing to help with the first point.

KronicDeth avatar Aug 15 '19 01:08 KronicDeth