Future of asm.js support

40 views
Skip to first unread message

キャロウ マーク

unread,
Oct 16, 2020, 7:10:29 PM10/16/20
to emscripten-discuss Sam Clegg via
I have just received a request to one of my projects to support compiling to asm.js ("as a fallback for use cases where WebAssembly isn't available, for example, if a user is required to use Internet Explorer 11”). Currently the project’s CMake set up only supports compiling to wasm. How much longer will Emscripten continue to support asm.js builds? If there isn’t much future then it is probably not worth adding support in my project.

Regards

    -Mark
signature.asc

Alon Zakai

unread,
Oct 16, 2020, 8:00:19 PM10/16/20
to emscripte...@googlegroups.com
We plan to support non-wasm output for a very long time - it's useful for multiple reasons, including that it can run in old browsers like IE11.

Building with -s WASM=0 is how to do that. Note that it's not asm.js - it is JavaScript that is similar to asm.js, but not identical (as wasm gains more features, they become impractical to compile to asm.js which was pretty strict).


--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/2B155F7C-DE2B-437E-8606-15B4222B1B42%40callow.im.
Reply all
Reply to author
Forward
0 new messages