4 ms·
asm.js relies on typed arrays, and IE9 doesn't support them. So I'd be surprised if IE9 was able to handle any asm.js code.
by nnethercote 12y ago
asm.js relies on typed arrays, and IE9 doesn't support them. So I'd be surprised if IE9 was able to handle any asm.js code.
- azakai 12y agoEmscripten can emit code without typed arrays. It's fairly slow but does work in IE9.
- nnethercote 12y agoOh, cool. I didn't know that.
- hippich 12y agoYes, you are right, but I found back then that not all code can be compiled without these arrays. Can't remember why right now tho. So there are certainly issues with browsers not supporting typed arrays.
- azakai 12y agoYes, it is tricky to compile without typed arrays. It means we need to disable LLVM optimizations, and also a lot more undefined behavior in C will fail (anything that assumes memory aliasing). With a little effort stuff can be ported, I ported CPython that way. But typed arrays is far better.