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

一种编排程序设计的核心模型

A Core Model for Choreographic Programming

Luís Cruz-Filipe, Fabrizio Montesi

摘要:

Choreographic Programming(英语:Choreographic Programming)是一种编程范式,用于构建无死锁的并发程序,作为声明式编程通信的结果,然后自动合成流程实现。尽管人们对编排有着浓厚的兴趣,但仍然缺少一个基础模型来解释哪些计算可以用编排的标志性结构来执行。在这项工作中,我们引入核心编排(CC),一个模型,只包括核心原语的编排编程。每个可计算函数都可以在CC中实现为编排,从中我们可以合成一个流程实现,其中独立的计算并行运行。我们讨论了CC的设计,并认为它构成了一个规范的模型编排编程。

英文摘要:

Choreographic Programming is a programming paradigm for building concurrent programs that are deadlock-free by construction, as a result of programming communications declaratively and then synthesising process implementations automatically. Despite strong interest on choreographies, a foundational model that explains which computations can be performed with the hallmark constructs of choreographies is still missing. In this work, we introduce Core Choreographies (CC), a model that includes only the core primitives of choreographic programming. Every computable function can be implemented as a choreography in CC, from which we can synthesise a process implementation where independent computations run in parallel. We discuss the design of CC and argue that it constitutes a canonical model for choreographic programming.

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

↑