3 ms·
Yeah. Target asm.js and WebGL and you'll get Internet Explorer 11, Chrome, Firefox, IE and probably eventually Safari. With NaCl you get Chrome only. The choice
by TazeTSchnitzel 13y ago
Yeah. Target asm.js and WebGL and you'll get Internet Explorer 11, Chrome, Firefox, IE and probably eventually Safari. With NaCl you get Chrome only. The choice is simple.
- RussianCow 13y agoThe choice wasn't so simple when asm.js was only supported by Firefox, and Microsoft had no plans to support WebGL in IE. :)
- TazeTSchnitzel 13y agoasm.js is supported, inherently, by all modern browsers. It is just JavaScript, after all. However, only Firefox has a second compiler path especially for it. Chrome has some optimisations for asm.js-like code in V8.
- RussianCow 13y agoWell, yes, but I find the WebGL port of the Unreal Engine demo (for example) unplayable without asm.js-specific optimizations. So by "supported" I really mean "optimized".
- camus2 13y agoa subset of a language is not the language itself. asm.js is not javascript.