Optimizing direct threaded code by selective inlining

47Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.

Abstract

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.

Cite

CITATION STYLE

APA

Piumarta, I., & Riccardi, F. (1998). Optimizing direct threaded code by selective inlining. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (pp. 291–300). ACM. https://doi.org/10.1145/277650.277743

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free