4 ms·
I made this factorial compile-and-run example in NodeJS: https://gist.github.com/Recmo/e0b6911992897c5f51c38fda822537c2 https://gist.github.com/Recmo/e0b691199
by remcob 9y ago
I made this factorial compile-and-run example in NodeJS:
https://gist.github.com/Recmo/e0b6911992897c5f51c38fda822537c2 https://gist.github.com/Recmo/e0b6911992897c5f51c38fda822537...
To run it you need at least Node 8.0.0 and the `--expose-wasm` flag.
Sorry for using modern JS, you will need to use babel-node to run it. Or you can port it to old fashioned JS.
- Houshalter 9y agoI didn't know you could run wasm from node, awesome.