xxxxxxxxxx
// webassembly in nodejs
//
//
// 1. install emscripten
// 2. install nodejs
// 3. install nodejs package: npm install -g emscripten
// 4. compile c to wasm: emcc -s WASM=1 -s SIDE_MODULE=1 -o a.wasm a.c
// 5. run: node a.js
//
// 6. compile c to js: emcc -s WASM=0 -s SIDE_MODULE=1 -o a.js a.c
// 7. run: node a.js