Hostname: page-component-5db58dd55d-lqwgf Total loading time: 0 Render date: 2026-05-26T14:51:37.500Z Has data issue: false hasContentIssue false

Continuation-based compilation of functional languages for parallel machines

Published online by Cambridge University Press:  04 March 2009

J.-F. Giorgi
Affiliation:
IRISA/INRIA, Campus de Beaulieu, 35042 Rennes Cedex, France. giorgi@irisa.fr, lemetayer@irisa.fr
D. Le Métayer
Affiliation:
IRISA/INRIA, Campus de Beaulieu, 35042 Rennes Cedex, France. giorgi@irisa.fr, lemetayer@irisa.fr

Abstract

We tackle the problems of correctness and efficiency of paralled implementations of functional languages. We present a compilation technique described in terms of program transformations in the functional framework. The original functional expression is transformed into a functional term, which can be seen as traditional machine code. The main feature of the parallel implementation is the use of continuations. We introduce a parallel abstract machine describing lazy task creation in terms of exportation of continuations. The advantages of the approach are twofold: (1)correetness proofs are made simpler and (2) the implementation is efficient because the use of continuations reduces the task management overhead.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 1992

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable