计算机科学 > 程序设计语言
[提交于 2018年1月24日]
标题:Choreographies for Reactive Programming
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Hugo Torres Vieira[v1] 2018年1月24日 星期三 18:13:06 UTC