On Sun, 13 May 2018 16:22:42 -0700
Alon Zakai <
alon...@gmail.com> wrote:
> Your HTML can pick which emscripten build to load, checking for the `typeof
> WebAssembly` for example. In other words, you'd write a few lines of JS to
> decide which emscripten build.
>
> But how that best fits in to the website depends on the design, for example
> a game may start downloading the assets immediately if they are the same
> for both builds, while deciding between those two builds.
>
> Another thing that will complicate this is new WebAssembly features, like
> threads or SIMD, that may require even more separate builds. Not sure yet
> what best practices there would be.
>