Lazy continuations for Java virtual machines

PPPJ '09: Proceedings of the 7th International Conference on Principles and Practice of Programming in Java(2009)

引用 29|浏览0
暂无评分
摘要
Continuations, or 'the rest of the computation', are a concept that is most often used in the context of functional and dynamic programming languages. Implementations of such languages that work on top of the Java virtual machine (JVM) have traditionally been complicated by the lack of continuations because they must be simulated. We propose an implementation of continuations in the Java virtual machine with a lazy or on-demand approach. Our system imposes zero run-time overhead as long as no activations need to be saved and restored and performs well when continuations are used. Although our implementation can be used from Java code directly, it is mainly intended to facilitate the creation of frameworks that allow other functional or dynamic languages to be executed on a Java virtual machine. As there are no widely used benchmarks for continuation functionality on JVMs, we developed synthetical benchmarks that show the expected costs of the most important operations depending on various parameters.
更多
查看译文
关键词
lazy continuation,various parameter,expected cost,important operation,dynamic programming language,on-demand approach,continuation functionality,dynamic language,java virtual machine,synthetical benchmarks,java code,continuation,java,stack frame,optimization,performance,virtual machine
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要