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

响应式编程的编排

Choreographies for Reactive Programming

Marco Carbone, Fabrizio Montesi, Hugo Torres Vieira

摘要:

模块化编程是软件开发的基石,因为它允许从简单组件的组装中构建复杂的系统,并支持可重用性和替代原则。在分布式环境中,组件组装由通信支持,通信通常需要遵循指定的交互协议。在本文中,我们提出了一种语言的分布式系统的模块化开发,组件的组装是由指定的通信协议的编排支持。我们的语言允许单独的组件行为,给出的反应数据端口,和编排,指定为第一类实体。这允许我们考虑组件和编排的可重用性和替换原则。我们展示了我们的模型如何可以被编译成一个更可操作的角度在一个可证明是正确的方式,我们提出了一个类型的纪律,解决通信安全和系统的进展,其中的替代性的概念自然出现。

英文摘要:

Modular programming is a cornerstone in software development, as it allows to build complex systems from the assembly of simpler components, and support reusability and substitution principles. In a distributed setting, component assembly is supported by communication that is often required to follow a prescribed protocol of interaction. In this paper, we present a language for the modular development of distributed systems, where the assembly of components is supported by a choreography that specifies the communication protocol. Our language allows to separate component behaviour, given in terms of reactive data ports, and choreographies, specified as first class entities. This allows us to consider reusability and substitution principles for both components and choreographies. We show how our model can be compiled into a more operational perspective in a provably-correct way, and we present a typing discipline that addresses communication safety and progress of systems, where a notion of substitutability naturally arises.

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

↑