Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon



Asm.js is an ir created in 2013.

#441on PLDB 9Years Old 901Users
0Books 0Papers

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...

Example 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; }
bbcode.html 路 asmjs.html 路 algol-w.html

View source

PLDB - Build the next great programming language 路 v2022 Day 31 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub