Skip to Main content Skip to Navigation
Conference papers

Reactivity of Cooperative Systems: Application to ReactiveML

Louis Mandel 1, 2 Cédric Pasteur 3, 2 
2 Parkas - Parallélisme de Kahn Synchrone
DI-ENS - Département d'informatique - ENS Paris, Inria Paris-Rocquencourt, CNRS - Centre National de la Recherche Scientifique : UMR 8548
Abstract : Cooperative scheduling enables efficient sequential implementations of concurrency. It is widely used to provide lightweight threads facilities as libraries or programming constructs in many programming languages. However, it is up to programmers to actually cooperate to ensure the reactivity of their programs.We present a static analysis that checks the reactivity of programs by abstracting them into so-called behaviors using a type-and-effect system. Our objective is to find a good compromise between the complexity of the analysis and its precision for typical reactive programs. The simplicity of the analysis is mandatory for the programmer to be able to understand error messages and how to fix reactivity problems.Our work is applied and implemented in the functional synchronous language ReactiveML. It handles recursion, higher-order processes and first class signals. We prove the soundness of our analysis with respect to the big-step semantics of the language: a well-typed program with reactive effects is reactive. The analysis is easy to implement and generic enough to be applicable to other models of concurrency such as coroutines.
Document type :
Conference papers
Complete list of metadata
Contributor : Timothy Bourke Connect in order to contact the contributor
Submitted on : Wednesday, December 10, 2014 - 11:48:02 AM
Last modification on : Thursday, March 17, 2022 - 10:08:44 AM




Louis Mandel, Cédric Pasteur. Reactivity of Cooperative Systems: Application to ReactiveML. Static Analysis (SAS), Sep 2014, Munich, Germany. pp.17, ⟨10.1007/978-3-319-10936-7_14⟩. ⟨hal-01093169⟩



Record views