Universidad Complutense de Madrid
E-Prints Complutense

To be or not to be. . . lazy (In a Parallel Context)1

Impacto

Downloads

Downloads per month over past year

Hidalgo Herrero, Mercedes and Ortega Mallén, Yolanda (2009) To be or not to be. . . lazy (In a Parallel Context)1. Electronic Notes in Theoretical Computer Science, 258 . pp. 21-39. ISSN 1571-0661

[img] PDF
Restringido a Repository staff only

376kB

Official URL: http://www.sciencedirect.com/science/article/pii/S157106610900485X


URLURL Type
http://www.sciencedirect.comPublisher


Abstract

Laziness restricts the exploitation of parallelism because expressions are evaluated only on demand.
Thus, parallel extensions of lazy functional languages, like Haskell, usually override laziness to some
extent. The purpose of the present work is to analyze how and to which extent strictness should
be introduced in a lazy language to design a parallel extension of it. Towards this end, we have
considered different evaluation strategies mixing laziness and eagerness for the language Eden —a parallel extension of Haskell—, we have given formal definitions for each, and we have implemented them in an interpreter to be able to run examples with alternative evaluation models, so that we can observe the intermediate and final states of the processes in the system, in terms of heaps of closures. Although the study is based on Eden, the concepts involved and the conclusions that we have obtained can be transferred to other parallel and functional languages.


Item Type:Article
Uncontrolled Keywords:Functional programming; Parallelism; Semantics; Distribution.
Subjects:Sciences > Computer science > Programming languages (Electronic computers)
ID Code:17193
Deposited On:26 Nov 2012 09:00
Last Modified:25 Nov 2016 09:03

Origin of downloads

Repository Staff Only: item control page