Robertvokac (talk | contribs) No edit summary |
Robertvokac (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Asm.js is a strict 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 JavaScript | 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 technices, like explicit conversion of value to number 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]]. | Asm.js is usually less performant than [[WebAssembly]]. | ||
== What after asm.js? == | |||
Asm.js is superseded by WebAssembly. | Asm.js is superseded by WebAssembly. | ||
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 technices, like explicit conversion of value to number 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