How to run qjs-wasi.wasm in the browser? #1511
Unanswered
guest271314
asked this question in
Q&A
Replies: 2 comments 3 replies
|
For running in the browser, this is likely more ergonomic: https://github.com/justjake/quickjs-emscripten Our WASM module will run the REPL, it's like the CLI. |
3 replies
|
https://guest271314.github.io/javy-browser-host/ https://github.com/guest271314/javy-browser-host/blob/main/wasi-browser.js |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to figure out how to run
qjs-wasi.wasmin the browser. My motivation is this SpiderMonkey WASI in browser example https://github.com/mozilla-spidermonkey/sm-wasi-demo and what I did withjavyhttps://github.com/guest271314/javy-browser-host.What I have so far, that currently just keeps reading from STDIN (
fd_readis implemented using a resizableArrayBuffer).qjs-wasi-browser.tar.gz
All reactions