Some materials related to my WASM blog
- helpers.js - usefull functions to laod and run WASM code from nodejs REPL
- debug.wat - example of debug functions from helpers.js usage
Just run nix develop
in root of this repo.
For direnv users there is also an .envrc file already.
yum install wabt nodejs
pacman -S wabt nodejs
apt install wabt nodejs
node
.load helpers.js
let example = await load("intro/basic-example")
example.theAnswer()