arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1505.06003cs.PL
收藏

基于Truffle的Golo解释器的机会

Opportunities for a Truffle-based Golo Interpreter

Julien Ponge, Frédéric Le Mouël, Nicolas Stouls, Yannick Loiseau

摘要:

Golo是Java虚拟机的一种简单的动态类型语言。最初作为JVM字节码的提前编译器实现,它利用invokedynamic和JSR 292方法句柄来实现合理有效的运行时。Truffle正在成为一个为JVM语言构建解释器的框架,它具有自专门的AST节点。与Graal编译器相结合,Truffle提供了一条编写高效解释器的简单途径,同时保持工程工作的平衡。Golo项目有兴趣在未来试验Truffle解释器,因为它将为构建语言运行时提供invokedynamic与Truffle之间有趣的比较元素。

英文摘要:

Golo is a simple dynamically-typed language for the Java Virtual Machine. Initially implemented as a ahead-of-time compiler to JVM bytecode, it leverages invokedy-namic and JSR 292 method handles to implement a reasonably efficient runtime. Truffle is emerging as a framework for building interpreters for JVM languages with self-specializing AST nodes. Combined with the Graal compiler, Truffle offers a simple path towards writing efficient interpreters while keeping the engineering efforts balanced. The Golo project is interested in experimenting with a Truffle interpreter in the future, as it would provides interesting comparison elements between invokedynamic versus Truffle for building a language runtime.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑