Hacker News new | ask | show | jobs
by DiThi 3112 days ago
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');
    }
1 comments

Quite possibly! Only one way to find out.