CRIL:一种并发可逆中间语言
CRIL: A Concurrent Reversible Intermediate Language
AI总结:
提出CRIL,一种并发可逆中间语言,通过扩展RIL并引入多线程进程调用与P-V同步原语,实现了高级并发程序到低级并发语言的保持可逆性翻译,并证明了其操作语义的因果安全与活性。
摘要:
我们提出了一种支持并发的可逆中间语言,用于将高级并发编程语言翻译为另一种较低级的并发编程语言,同时保持可逆性。中间语言通常用于将源程序编译为更接近机器码的目标代码程序,其中中间语言使得行为分析和优化能够分步进行。我们提出 CRIL(Concurrent Reversible Intermediate Language,并发可逆中间语言)作为 Mogensen 用于函数式可逆语言的 RIL 的扩展,结合了多线程进程调用和基于 P-V 操作的同步原语。我们表明 CRIL 的操作语义具有可逆性属性,包括 Lanese 等人提出的因果安全和因果活性,并检查了公理属性。该操作语义通过将双向控制流与更新内存的依赖信息(称为 annotation DAG)组合来定义。我们展示了一个“机票预订”的简单示例,以说明 CRIL 如何在具有并发性的命令式程序中保持可逆性所需的因果关系。
英文摘要:
We present a reversible intermediate language with concurrency for translating a high-level concurrent programming language to another lower-level concurrent programming language, keeping reversibility. Intermediate languages are commonly used in compiling a source program to an object code program closer to the machine code, where an intermediate language enables behavioral analysis and optimization to be decomposed in steps. We propose CRIL (Concurrent Reversible Intermediate Language) as an extension of RIL used by Mogensen for a functional reversible language, incorporating a multi-thread process invocation and the synchronization primitives based on the P-V operations. We show that the operational semantics of CRIL enjoy the properties of reversibility, including the causal safety and causal liveness proposed by Lanese et al., checking the axiomatic properties. The operational semantics is defined by composing the bidirectional control flow with the dependency information on updating the memory, called annotation DAG. We show a simple example of `airline ticketing' to illustrate how CRIL preserves the causality for reversibility in imperative programs with concurrency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。