Cooperative Decoupled Processes: The E-Calculus and Linearity
Event-driven programming has become a major paradigm in developing concurrent, distributed systems. Its benefits are often informally captured by the key tenet of “decoupling”, a notion which roughly captures the ability of modules to join and leave (or fail) applications dynamically, and to be developed by independent parties. Programming models for event-driven programming either make it hard to reason about global control flow, thus hampering sound execution, or sacrifice decoupling to aid in reasoning about control flow. This work fills the gap by introducing a programming model – dubbed cooperative decoupled processes – that achieves both decoupling and reasoning about global control flow. We introduce this programming model through an event calculus, loosely inspired by the Join calculus, that enables reasoning about cooperative decoupled processes through the concepts of pre- and postconditions. A linear type system controls aliasing of events to ensure uniqueness of control flow and thus safe exchange of shared events. Fundamental properties of the type system such as subject reduction, migration safety, and progress are established.
Thu 17 MarDisplayed time zone: Belfast change
10:00 - 11:30
|Modularity and Optimization in Synergy|
|Cooperative Decoupled Processes: The E-Calculus and Linearity|
|CPL: A Core Language for Cloud Computing|
Oliver Bračevac TU Darmstadt, Sebastian Erdweg TU Darmstadt, Germany, Guido Salvaneschi TU Darmstadt, Mira Mezini TU DarmstadtDOI