This example shows the way of synchronous initialization of WebAssembly using Emscripten
.
This example required:
This example used undocumented option BINARYEN_ASYNC_COMPILATION
. This option can helps you turn off async compilation. N.B It may not work in Chrome (not in nodejs) due to current limitations there.
$ make && node index.js