An AssemblyScript example. Colin Eberhardt's and Ben Smith's WebAssembly interference effect, if it was written in AssemblyScript and utilizing 32-bit floating point math.
First, install the development dependencies:
$> npm install
Now, to build assembly/index.ts to an untouched and an optimized .wasm
including their respective .wat
representations, run:
$> npm run asbuild
Afterwards, run
$> npm start
to start a local server.