Programming parallelism with futures in lustre
Authors:
Open Access
- 7 October 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 197-206
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.Keywords
This publication has 19 references indexed in Scilit:
- A contextual semantics for concurrent Haskell with futures2011
- Multi-task Implementation of Multi-periodic Synchronous ProgramsDiscrete Event Dynamic Systems, 2011
- The F# Asynchronous Programming ModelLecture Notes in Computer Science, 2011
- Multiprocessor resource allocation for throughput-constrained synchronous dataflow graphsProceedings of the 39th conference on Design automation - DAC '02, 2007
- A concurrent lambda calculus with futuresTheoretical Computer Science, 2006
- Exploiting coarse-grained task, data, and pipeline parallelism in stream programs2006
- Automatic rate desynchronization of embedded reactive programsACM Transactions on Embedded Computing Systems, 2006
- Concurrency in Synchronous SystemsFormal Methods in System Design, 2006
- Generating efficient code from data-flow programs1991
- MULTILISP: a language for concurrent symbolic computationACM Transactions on Programming Languages and Systems, 1985