Skip to Main content Skip to Navigation
Conference papers

Programming Parallelism with Futures in Lustre

Albert Cohen 1 Léonard Gérard 1 Marc Pouzet 1 
1 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 : Efficiently distributing synchronous programs is a challenging and long-standing subject. This paper introduces the use of futures in a Lustre-like language, giving the programmer control over the expression of parallelism. In the synchronous model where computations are considered instantaneous, futures increase expressiveness by decoupling the beginning from the end of a computation. Through a number of examples, we show how to desynchronize long computations and implement parallel patterns such as fork-join, pipelining and data parallelism. The proposed extension preserves the main static properties of the base language, including static resource bounds and the absence of deadlock, livelock and races. Moreover, we prove that adding or removing futures preserves the underlying synchronous semantics.
Document type :
Conference papers
Complete list of metadata
Contributor : Albert Cohen Connect in order to contact the contributor
Submitted on : Sunday, February 10, 2013 - 2:05:03 AM
Last modification on : Thursday, March 17, 2022 - 10:08:44 AM




Albert Cohen, Léonard Gérard, Marc Pouzet. Programming Parallelism with Futures in Lustre. EMSOFT '12 Proceedings of the tenth ACM international conference on Embedded software, Oct 2012, Tampere, Finland, Finland. pp.197-206, ⟨10.1145/2380356.2380394⟩. ⟨hal-00786682⟩



Record views