JavaScript AOT compilation - Archive ouverte HAL Access content directly
Conference Papers Year : 2018

JavaScript AOT compilation

Manuel Serrano


Static compilation, a.k.a., ahead-of-time (AOT) compilation, is an alternative approach to JIT compilation that can combine good speed and lightweight memory footprint, and that can accommodate read-only memory constraints that are imposed by some devices and some operating systems. Unfortunately the highly dynamic nature of JavaScript makes it hard to compile statically and all existing AOT compilers have either gave up on good performance or full language support. We have designed and implemented an AOT compiler that aims at satisfying both. It supports full unrestricted ECMAScript 5.1 plus many ECMAScript 2017 features and the majority of benchmarks are within 50% of the performance of one of the fastest JIT compilers.
Fichier principal
Vignette du fichier
jsaot.pdf (663.81 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01937197 , version 1 (28-11-2018)



Manuel Serrano. JavaScript AOT compilation. the 14th ACM SIGPLAN International Symposium on Dynamic Languages, Nov 2018, Boston, France. ⟨10.1145/3276945.3276950⟩. ⟨hal-01937197⟩
466 View
1225 Download



Gmail Facebook X LinkedIn More