2021
DOI: 10.48550/arxiv.2106.12496
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Threaded Code Generation with a Meta-Tracing JIT Compiler

Abstract: Language implementation frameworks such as RPython and Truffle/Graal are effective tools for creating a high-performance language with lower effort than implementing from scratch. The two frameworks support only a single JIT compilation strategy, tracebased compilation and method-based compilation, but they have its own advantages and disadvantages. We proposed a meta-hybrid JIT compiler framework to take advantages of the two strategies as a language implementation framework. We also implemented a proof-of-co… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
3
0

Year Published

2022
2022
2022
2022

Publication Types

Select...
1

Relationship

1
0

Authors

Journals

citations
Cited by 1 publication
(3 citation statements)
references
References 11 publications
0
3
0
Order By: Relevance
“…The generic interpreter is converted into an interpreter that includes two definitions -one for baseline JIT compilation and another is for tracing JIT compilation. To remove the task of manually writing redundant definitions in the methodtraversal interpreter [15], we internally generate both the method-traversal interpreter (for the baseline JIT compilation) and a normal interpreter (for tracing JIT compilation) from the generic interpreter definition.…”
Section: Generic Interpretermentioning
confidence: 99%
See 2 more Smart Citations
“…The generic interpreter is converted into an interpreter that includes two definitions -one for baseline JIT compilation and another is for tracing JIT compilation. To remove the task of manually writing redundant definitions in the methodtraversal interpreter [15], we internally generate both the method-traversal interpreter (for the baseline JIT compilation) and a normal interpreter (for tracing JIT compilation) from the generic interpreter definition.…”
Section: Generic Interpretermentioning
confidence: 99%
“…We do not create two separated compilers in adaptive RPython but indeed generate two different interpreters -the one for the first level of compilation and another is for the second level. As first-level compilation, we support threaded code [3,13] in a meta-tracing compiler (we call this technique threaded code generation [15]). The second one is RPython's original tracing JIT compilation.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation