Programming Parallelism with Futures in Lustre - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2012

Programming Parallelism with Futures in Lustre

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.
No file

Dates and versions

hal-00786682 , version 1 (10-02-2013)

Identifiers

Cite

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⟩
91 View
0 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More