arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1701.00649cs.PL
收藏

抽象机器的复杂性

The Complexity of Abstract Machines

Beniamino Accattoli

摘要:

微积分是一种特殊的计算模型,它的定义并没有机器的概念。毫不奇怪,λ演算的实现已经研究了几十年。抽象机器是固定评估策略的实现模式,是理论和实践之间的妥协:它们足够具体,可以提供机器的概念,也足够抽象,可以避免实际实现的许多复杂性。有一个广泛的文献抽象机的微积分,但相当棘手的是,这些机器的效率方面的战略,他们实施几乎从来没有被研究过。本文提供了一个不寻常的介绍抽象机,根据其开销的复杂性相对于实现策略的长度。它被认为是一个教程,重点是实施弱头(点名)策略的案例研究,但它是一个原始的重新阐述已知的结果。此外,这里所载的一些意见以前从未在印刷品中出现过。

英文摘要:

The lambda-calculus is a peculiar computational model whose definition does not come with a notion of machine. Unsurprisingly, implementations of the lambda-calculus have been studied for decades. Abstract machines are implementations schema for fixed evaluation strategies that are a compromise between theory and practice: they are concrete enough to provide a notion of machine and abstract enough to avoid the many intricacies of actual implementations. There is an extensive literature about abstract machines for the lambda-calculus, and yet-quite mysteriously-the efficiency of these machines with respect to the strategy that they implement has almost never been studied. This paper provides an unusual introduction to abstract machines, based on the complexity of their overhead with respect to the length of the implemented strategies. It is conceived to be a tutorial, focusing on the case study of implementing the weak head (call-by-name) strategy, and yet it is an original re-elaboration of known results. Moreover, some of the observation contained here never appeared in print before.

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

↑