Re:A WebAssembly interpreter written in JavaScript
by steveklabnik on Wednesday December 13, 2017 @05:43PM
(#15918408)
Maybe not, but I wouldn't be sure that that's it; the stated version on the top of the page is an important one, or at least is as long as IE 11 is a thing.
[ Parent
| on HN ]
Re:A WebAssembly interpreter written in JavaScript
by DiThi on Wednesday December 13, 2017 @07:20PM
(#15918959)
Wouldn't it be better to just deploy asm.js alongside wasm? Emscripten can easily generate both, and a simple check can select which script to load.
if(window.WebAssembly != null){
loadScript('script.wasm.js');
}else{
loadScript('script.asm.js');
}
Re:A WebAssembly interpreter written in JavaScript
by steveklabnik on Wednesday December 13, 2017 @09:04PM
(#15919432)
Quite possibly! Only one way to find out.