Sciweavers

LOPSTR
2009
Springer

Towards Just-In-Time Partial Evaluation of Prolog

13 years 11 months ago
Towards Just-In-Time Partial Evaluation of Prolog
Abstract. We introduce a just-in-time specializer for Prolog. Just-intime specialization attempts to unify of the concepts and benefits of partial evaluation (PE) and just-in-time (JIT) compilation. It is a variant of PE that occurs purely at runtime, which lazily generates residual code and is constantly driven by runtime feedback. Our prototype is an on-line just-in-time partial evaluator. A major focus of our work is to remove the overhead incurred when executing an interpreter written in Prolog. It improves over classical offline PE by requiring almost no heuristics nor hints from the author of the interpreter; it also avoids most termination issues due to interleaving execution and specialization. We evaluate the performance of our prototype on a small number of benchmarks.
Carl Friedrich Bolz, Michael Leuschel, Armin Rigo
Added 27 May 2010
Updated 27 May 2010
Type Conference
Year 2009
Where LOPSTR
Authors Carl Friedrich Bolz, Michael Leuschel, Armin Rigo
Comments (0)