Hello,
I am a relatively new user of the Emscripten SDK and am impressed and
delighted to be learning this new technology. While I have been learning
about this over the last 3 weeks I have come to have a number of questions
specifically related to using a module compiled with the -s
Thanks much for the comment, Alon!
We did some more experiments and found that ASM.JS and WASM seem to have
different behaviors:
1. asm.js "managed to remove 1 ctors" with command "emcc -Oz Source.cpp
-std=c++14 -stdlib=libc++ -s EMTERPRETIFY=1 -s EMTERPRETIFY_ASYNC=1
--proxy-to-worker --bind
I actually don't see asm.js work there (it fails on invoke_i being called,
likely because of exceptions). However, differences between asm.js and wasm
ctor evalling are possible, the wasm ctor evaller happens after asm2wasm,
which is after we emterpretify, while in asm.js we do it before we