3 ms·
What about this JavaScript: https://raw.githubusercontent.com/gregtour/gameboy/master/JS/gameboy.js https://raw.githubusercontent.com/gregtour/gameboy/master/JS
by xigency 11y ago
What about this JavaScript: https://raw.githubusercontent.com/gregtour/gameboy/master/JS/gameboy.js https://raw.githubusercontent.com/gregtour/gameboy/master/JS...
It's not asm.js, it isn't C (but it was ported from C), but it's JavaScript and it has no dynamic allocations. No variable uses more than one type. I could hand fashion asm.js and WebAssembly code and tell you which one is faster.
That's the only answer to whether a JavaScript to WebAssembly compiler would be worthwhile.