A WebAssembly interpreter written in JavaScript
webassembly.js.org
webassembly.js.org
I can see on your GitHub page that you made the famous WebAssembly to JVM, nice job!
(Thanks!)
[1] https://www.destroyallsoftware.com/talks/the-birth-and-death...
Or good depending on the perspective of course.
Since WASM is used for some performance intensive applications it would be useful to know how does this polyfill compare to native WASM /asm.js or regular js.
I want to take advantage of the optimization done by the JavaScript VM and asm.js in the future.
if(window.WebAssembly != null){
loadScript('script.wasm.js');
}else{
loadScript('script.asm.js');
}Might be useful for old versions of IE, I suppose.
If not, this could be useful to write WASM directly.
In the article, the links under "The parsing is available for the following formats:" are broken. Does anybody know where they should point to?
As soon as it is possible to write WASM directly and have it execute it by the browser, I would start trying it out. I hope somebody will come up with a better textual representation then the currently proposed one with all the parenthesis.
https://wasdk.github.io/WasmFiddle/
https://mbebenita.github.io/WasmExplorer/
I prefer the explorer one.
The s-exp representation is great for doing compiler development, hence why it was chosen.
Write something in a language that targets WASM and compile to it - it's an easier way of accomplishing the same end result, and that's what it's for.