JavaScript AOT compilation

JavaScript AOT compilation
复制标题

JavaScript AOT 编译

DOI:
--
复制
发表时间:
2018
期刊:
Dynamic Languages Symposium
影响因子:
--
通讯作者:
M. Serrano
M. Serrano
中科院分区:
--
文献类型:
--
作者:
M. Serrano

文献摘要

被引文献

相似文献

静态编译,又名,提前(AOT)编译是JIT编译的替代方法,其可以将良好的速度和轻量级内存占用相结合,并且可以适应由某些设备和某些操作系统施加的只读内存约束。不幸的是,JavaScript的高度动态特性使得静态编译变得困难,所有现有的AOT编译器要么放弃了良好的性能,要么放弃了完整的语言支持。我们已经设计并实现了一个AOT编译器,旨在满足这两个。它支持完全不受限制的ECMAScript 5.1以及许多ECMAScript 2017功能,大多数基准测试都在50以内。
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