Pycket: a tracing JIT for a functional language
Pycket: a tracing JIT for a functional language
复制标题
Pycket:函数式语言的跟踪 JIT
DOI:
10.1145/2784731.2784740
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
Bauman S
中科院分区:
文献类型:
--
作者:
Bauman S
We present Pycket, a high-performance tracing JIT compiler for Racket. Pycket supports a wide variety of the sophisticated features in Racket such as contracts, continuations, classes, structures, dynamic binding, and more. On average, over a standard suite of benchmarks, Pycket outperforms existing compilers, both Racket's JIT and other highly-optimizing Scheme compilers. Further, Pycket provides much better performance for Racket proxies than existing systems, dramatically reducing the overhead of contracts and gradual typing. We validate this claim with performance evaluation on multiple existing benchmark suites. The Pycket implementation is of independent interest as an application of the RPython meta-tracing framework (originally created for PyPy), which automatically generates tracing JIT compilers from interpreters. Prior work on meta-tracing focuses on bytecode interpreters, whereas Pycket is a high-level interpreter based on the CEK abstract machine and operates directly on abstract syntax trees. Pycket supports proper tail calls and first-class continuations. In the setting of a functional language, where recursion and higher-order functions are more prevalent than explicit loops, the most significant performance challenge for a tracing JIT is identifying which control flows constitute a loop---we discuss two strategies for identifying loops and measure their impact.
登录
查看更多内容
DOI:
--
发表时间:
2011
期刊:
ACM SIGPLAN International Conference on Functional Programming
影响因子:
--
作者:
Tim Disney;C. Flanagan;J. McCarthy
通讯作者:
J. McCarthy
DOI:
10.1145/1134760.1134780
发表时间:
2006
期刊:
ArXiv
影响因子:
--
作者:
A. Gal;Christian W. Probst;M. Franz
通讯作者:
M. Franz
影响因子:
19
作者:
A. Gal;Brendan Eich;Mike Shaver;David Anderson;David Mandelin;M. Haghighat;Blake Kaplan;Graydon Hoare;B. Zbarsky;Jason Orendorff;J. Ruderman;Edwin W. Smith;Rick Reitmaier;Michael Bebenita;Mason Chang;M. Franz
通讯作者:
M. Franz
DOI:
10.1145/2254064.2254094
发表时间:
2012
期刊:
Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation
影响因子:
--
作者:
Brian Hackett;Shu
通讯作者:
Shu
DOI:
--
发表时间:
2006
期刊:
影响因子:
--
作者:
John Clements
通讯作者:
John Clements