Choreographies for Reactive Programming

Marco Carbone, Fabrizio Montesi, Hugo Torres Vieira [2018].
In CoRR abs/1801.08107.

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.
Additional notes
Cite (BibTeX)
Click to expand
  author       = {Marco Carbone and
                  Fabrizio Montesi and
                  Hugo Torres Vieira},
  title        = {Choreographies for Reactive Programming},
  journal      = {CoRR},
  volume       = {abs/1801.08107},
  year         = {2018},
  url          = {},
  eprinttype    = {arXiv},
  eprint       = {1801.08107},
  timestamp    = {Mon, 13 Aug 2018 16:46:02 +0200},
  biburl       = {},
  bibsource    = {dblp computer science bibliography,}