Re:Lua VM running in a WASM environment
by joatmon-snoo on Saturday March 18, 2017 @01:37AM
(#13900068)
On Chrome you need to turn wasm on apparently. The emscripten GH (https://github.com/kripken/emscripten/wiki/WebAssembly) says you should also use Canary, but I see chrome://flags/#enable-webassembly in my Chrome flags, so I turned that on. Still doesn't work though; I'm getting this now:
Uncaught TypeError: WebAssembly.instantiate is not a function
at doNativeWasm (main.js:1)
at Object.Module.asm (main.js:1)
at main.js:1
Re:Lua VM running in a WASM environment
by JasonSage on Saturday March 18, 2017 @04:39AM
(#13900474)
That's implementing an older version of the WASM spec, hence why you need Canary.
Re:Lua VM running in a WASM environment
by Svenskunganka on Saturday March 18, 2017 @02:51AM
(#13900237)
Go to chrome://help/ and it should update to latest version (Version 57.0.2987.110 (64-bit)), after that it works like a charm.
This usually happens when you haven't restarted Chrome for a while.
Support for WebAssembly is enabled from version 57: https://www.chromestatus.com/feature/5453022515691520
Make sure you're on Chrome 57
Worked without any configuration changes for me (Chromium 59 on Stretch).
Re:Lua VM running in a WASM environment
by alain_gilbert on Saturday March 18, 2017 @02:35AM
(#13900204)
Worked without any configuration changes.
Chrome Version 57.0.2987.110 (64-bit)
Let me know if you need more info.
EDIT: Ah, it's firefox-only.
Is there some way I can help get it running on Chrome?