Robertvokac (talk | contribs) (Created page with "Asm.js is a subset of JavaScript, that C/C++ code can be compiled to. An asm.js compiled C/C++ code can run in any browser, because it is JavaScript and it is more performant, because it is a highly-optimized subset of JavaScript. Asm.js is usually less performant than WebAssembly. Category:Running C or ++ code in web browser") |
Robertvokac (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Asm.js is a subset of JavaScript, that C/C++ code can be compiled to. | Asm.js is a strict subset of [[JavaScript]], that [[C]]/[[C++]] code can be compiled to. | ||
An asm.js compiled C/C++ code can run in any browser, because it is | An asm.js compiled C/C++ code can run in any [[web browser]], because it is JavaScript. | ||
Asm.js is usually less performant than WebAssembly. | Asm.js is strongly typed because it uses techniques like explicit conversion of values to numbers using bit operations. | ||
[[Category:Running C or ++ code in web browser]] | |||
== Performance == | |||
Asm.js is more performant, than JavaScript, because it is a highly-optimized subset of JavaScript. | |||
Asm.js is usually less performant than [[WebAssembly]]. | |||
== What after asm.js? == | |||
Asm.js is superseded by WebAssembly. | |||
== External links == | |||
https://en.wikipedia.org/wiki/Asm.js | |||
https://johnresig.com/blog/asmjs-javascript-compile-target/ | |||
http://asmjs.org/ | |||
[https://mrale.ph/blog/2013/03/28/why-asmjs-bothers-me.html? https://mrale.ph/blog/2013/03/28/why-asmjs-bothers-me.html?] | |||
[[Category:Running C or C++ code in web browser]] |
Latest revision as of 09:53, 29 December 2024
Asm.js is a strict subset of JavaScript, that C/C++ code can be compiled to.
An asm.js compiled C/C++ code can run in any web browser, because it is JavaScript.
Asm.js is strongly typed because it uses techniques like explicit conversion of values to numbers using bit operations.
Performance
Asm.js is more performant, than JavaScript, because it is a highly-optimized subset of JavaScript.
Asm.js is usually less performant than WebAssembly.
What after asm.js?
Asm.js is superseded by WebAssembly.
External links
https://en.wikipedia.org/wiki/Asm.js