Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the WebAssembly target platform #534

Open
dumblob opened this issue May 9, 2017 · 0 comments
Open

Add the WebAssembly target platform #534

dumblob opened this issue May 9, 2017 · 0 comments

Comments

@dumblob
Copy link

dumblob commented May 9, 2017

I noticed, that WebAssembly matured about a month ago and therefore I'm proposing adding WebAssembly (wasm) as a target platform alongside linux, macosx, freebsd, openbsd, mingw, minix, haiku. It might be pretty straightforward - like with Emscripten, but of course it would be best to implement a WebAssembly bytecode backend.

Adding WebAssembly as a platform should also give us a hint which functionality required by DaoVM (and modules) might be problematic (I'm talking especially about possible issues with the standard C library and dependencies due to security enforced in WebAssembly). There is also a standalone WebAssembly interpreter wasm-interp for testing purposes.

See also https://developer.mozilla.org/en-US/docs/WebAssembly .

By the way WebAssembly is enabled by default in Firefox 52+ and Chrome 57+/latest Opera (you can also run wasm code in Firefox 47+ by enabling the javascript.options.wasm flag in about:config, or Chrome (51+) and Opera (38+) by going to chrome://flags and enabling the Experimental WebAssembly flag).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant