only-cliches / duktape-vm

Duktape Javascript Virtual Machine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is the wasm file?

Zentendo opened this issue · comments

Hi, this library looks great but I'm a bit confused. Where is the .wasm binary file? You claim to support WebAssembly with asm.js fallback but I only see js files at the moment. The Emscripten compiled WASM binary seems performance critical and using ccall / cwrap.

The WASM file is embedded into the javascript directly as a Uint8Array.

You can see the array in the unminified code here.

Also if you search the minified code for var wasmBinary you can find it pretty easily.