Asm.js
Asm.js is a historical intermediate representation language created in 2013. asm.js is an intermediate programming language designed to allow computer software written in languages such as C to be run as web applications while maintaining performance characteristics considerably better than standard JavaScript, the typical language used for such applications. asm.js consists of a strict subset of JavaScript, into which code written in statically-typed languages with manual memory management (such as C) is translated by a source-to-source compiler such as Emscripten (based on LLVM). Performance is improved by limiting language features to those amenable to ahead-of-time optimization and other performance improvements. Read more on Wikipedia...
6Years Old | 25Users | 0Jobs |
- Asm.js ranks in the top 20% of languages
- the Asm.js website
- the Asm.js wikipedia page
- Asm.js first appeared in 2013
- See also: javascript, llvmir, lua, perl, python, ruby, opengl, vim-editor, sqlite, gnuplot, unity-engine, godot-game-engine, wasm
- I have 24 facts about Asm.js. what would you like to know? email me and let me know how I can help.
Example code from Wikipedia:
function strlen(ptr) { ptr = ptr|0; var curr = 0; curr = ptr; while (MEM8[curr]|0 != 0) { curr = (curr + 1)|0; } return (curr - ptr)|0; }
Last updated December 4th, 2019