计算机科学 > 程序设计语言
[提交于 2020年8月12日]
标题:Compiling a Higher-Order Smart Contract Language to LLVM
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Scilla is a higher-order polymorphic typed intermediate level language for implementing smart contracts. In this talk, we describe a Scilla compiler targeting LLVM, with a focus on mapping Scilla types, values, and its functional language constructs to LLVM-IR. The compiled LLVM-IR, when executed with LLVM's JIT framework, achieves a speedup of about 10x over the reference interpreter on a typical Scilla contract. This reduced latency is crucial in the setting of blockchains, where smart contracts are executed as parts of transactions, to achieve peak transactions processed per second. Experiments on the Ackermann function achieved a speedup of more than 45x. This talk abstract is aimed at both programming language researchers looking to implement an LLVM based compiler for their functional language, as well as at LLVM practitioners.
提交历史
来自:Ilya Sergey[v1] 2020年8月12日 星期三 20:06:33 UTC