Programming Parallelism with Futures in Lustre - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

Programming Parallelism with Futures in Lustre

Résumé

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.
Fichier non déposé

Dates et versions

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

Identifiants

Citer

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⟩
92 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More