Alex Guesnon
Alex Guesnon

Reputation: 41

Is there a WebAssembly interpreter for IE?

I was wondering if there was a VM made in JS for older browsers to compute wasm.

Im not after speed/performance. Just overall compatibility.

Im not doing anything special just. Trying to run wasm across all browsers.

Upvotes: 3

Views: 1910

Answers (2)

ColinE
ColinE

Reputation: 70132

Webassemblyjs is a polyfill that runs WebAssemby modules within a JavaScript interpreter. However, the result is likely to be quite slow.

A better option, when using Emscripten, is to compile to asm.js for IE browsers. This option is better supported and likely to provide much better performance.

If your compiler toolchain does not support asm.js directly, the BinaryEn suite of tools includes wasm2js utility that compiles WebAssembly modules to an asm.js-like format.

Upvotes: 4

gabriel.hayes
gabriel.hayes

Reputation: 2313

You might try wasm-polyfill, although it is no longer actively maintained

Upvotes: 0

Related Questions