Optimizing direct threaded code by selective inlining

Optimizing direct threaded code by selective inlining
复制标题

通过选择性内联优化直接线程代码

DOI:
10.1145/277650.277743
复制
发表时间:
1998
期刊:
Proceedings of the ACM SIGPLAN 1998 conference on Programming language design and implementation
影响因子:
--
通讯作者:
F. Riccardi
F. Riccardi
中科院分区:
--
文献类型:
--
作者:
Ian Piumarta;F. Riccardi

文献摘要

被引文献

相似文献

在不牺牲简单性和可移植性的情况下,很难在划分的语言解释器中实现良好的性能。这是由于字节码对本机代码的动态翻译(“正式汇编”)的复杂性,这是由高性能解释者普遍使用的机制。我们证明,一些简单的技术使创建高度创建的技术是可能的 - 可以在某些数值计算中获得优化C的性能的可携带动态翻译器。基于此类技术的翻译人员可以提供可观的性能,而无需牺牲较慢的“纯”字节码解释器的简单性或可移植性。
Achieving good performance in bytecoded language interpreters is difficult without sacrificing both simplicity and portability. This is due to the complexity of dynamic translation ("just-in-time compilation") of bytecodes into native code, which is the mechanism employed universally by high-performance interpreters.We demonstrate that a few simple techniques make it possible to create highly-portable dynamic translators that can attain as much as 70% the performance of optimized C for certain numerical computations. Translators based on such techniques can offer respectable performance without sacrificing either the simplicity or portability of much slower "pure" bytecode interpreters.