arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1401.5097cs.PL
收藏

分布式按值呼叫机

Distributed call-by-value machines

Olle Fredriksson

摘要:

我们提出了一个新的抽象机,称为DCESH,它描述了在分布式体系结构中运行的高阶程序的执行。DCESH实现了一种通用形式的远程过程调用,支持跨节点边界调用高阶函数,而无需发送实际代码。我们的出发点是一个SECD机器的变体,我们称之为CES机器,它实现了无类型的按值调用PCF的约简。我们依次添加了分布式执行所需的功能,并显示了每个添加的正确性。首先,我们添加堆,形成CESH机,它提供了更有效的执行所需的功能,并表明CES和CESH机之间存在互模拟。然后,我们构建了一个两级操作语义,其中高层是通信机器的网络,低层由本地机器转换给出。使用这些网络,我们到达我们的最终系统,分布式CESH机(DCESH)。我们表明,有一个互模拟的关系也之间的CESH机和DCESH机。所有的技术成果已经正式化,并在Agda证明是正确的,并已开发出一个原型编译器。

英文摘要:

We present a new abstract machine, called DCESH, which describes the execution of higher-order programs running in distributed architectures. DCESH implements a generalised form of Remote Procedure Call that supports calling higher-order functions across node boundaries, without sending actual code. Our starting point is a variant of the SECD machine that we call the CES machine, which implements reduction for untyped call-by-value PCF. We successively add the features that we need for distributed execution and show the correctness of each addition. First we add heaps, forming the CESH machine, which provides features necessary for more efficient execution, and show that there is a bisimulation between the CES and the CESH machine. Then we construct a two-level operational semantics, where the high level is a network of communicating machines, and the low level is given by local machine transitions. Using these networks, we arrive at our final system, the distributed CESH machine (DCESH). We show that there is a bisimulation relation also between the CESH machine and the DCESH machine. All the technical results have been formalised and proved correct in Agda, and a prototype compiler has been developed.

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

↑