Aviso: para depositar documentos, por favor, inicia sesión e identifícate con tu cuenta de correo institucional de la UCM con el botón MI CUENTA UCM. No emplees la opción AUTENTICACIÓN CON CONTRASEÑA
 

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

dc.contributor.authorHidalgo Herrero, Mercedes
dc.contributor.authorOrtega Mallén, Yolanda
dc.date.accessioned2023-06-20T09:42:00Z
dc.date.available2023-06-20T09:42:00Z
dc.date.issued2009
dc.description.abstractLaziness 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.
dc.description.departmentSección Deptal. de Sistemas Informáticos y Computación
dc.description.facultyFac. de Ciencias Matemáticas
dc.description.refereedTRUE
dc.description.statuspub
dc.eprint.idhttps://eprints.ucm.es/id/eprint/17193
dc.identifier.doi10.1016/j.entcs.2009.12.003
dc.identifier.issn1571-0661
dc.identifier.officialurlhttp://www.sciencedirect.com/science/article/pii/S157106610900485X
dc.identifier.relatedurlhttp://www.sciencedirect.com
dc.identifier.urihttps://hdl.handle.net/20.500.14352/50207
dc.journal.titleElectronic Notes in Theoretical Computer Science
dc.language.isoeng
dc.page.final39
dc.page.initial21
dc.publisherElsevier
dc.relation.projectIDTIN2006-15660-C02-01
dc.relation.projectIDS0505/TIC/0407
dc.relation.projectIDCCG08-UCM/TIC-4124.
dc.rights.accessRightsrestricted access
dc.subject.cdu004.42
dc.subject.keywordFunctional programming
dc.subject.keywordParallelism
dc.subject.keywordSemantics
dc.subject.keywordDistribution.
dc.subject.ucmLenguajes de programación
dc.subject.unesco1203.23 Lenguajes de Programación
dc.titleTo be or not to be. . . lazy (In a Parallel Context)1
dc.typejournal article
dc.volume.number258
dcterms.referencesC. Baker-Finch, D. King, and P. W. Trinder. An operational semantics for parallel lazy evaluation. In ACM-SIGPLAN International Conference on Functional Programming (ICFP’00), pages 162–173, Montreal, Canada, September 2000. M. M. T. Chakravarty, R. Leshchinskiy, S. L. Peyton Jones, G. Keller, and S. Marlow. Data parallel haskell: a status report. In DAMP, pages 10–18, 2007. M. J. Gabbay, S. H. Haeri, Y. Ortega-Mallen, and P. W. Trinder. Reasoning about selective strictness: operational equivalence, heaps and call-by-need evaluation, new inductive principles.(Work in progress available from authors), 2009. M. Hidalgo-Herrero. Sem´anticas formales para un lenguaje funcional paralelo. PhD thesis,Dept. Sistemas Inform´aticos y Programaci´on, Universidad Complutense de Madrid, 2004. M. Hidalgo-Herrero and Y. Ortega-Mallen. An operational semantics for the parallel language Eden. Parallel Processing Letters (World Scientific Publishing Company), 12(2):211–228, 2002. M. Hidalgo-Herrero, Y. Ortega-Mallen, and F. Rubio.Analyzing the influence of mixed evaluation on the performance of Eden skeletons. Parallel Computing, 32(7-8):523–538, 2006. M. Hidalgo-Herrero, Y. Ortega-Mallen, and F. Rubio.Comparing alternative evaluation strategies for stream-based parallel functional languages. In Proceedings of the 18th International Workshop on Implementation of Functional Languages, (IFL’06 selected papers), pages 55–72. LNCS 4449, Springer, 2007. K. Ibach. Ozfun: A functional language for mixed eager and lazy programming. In Jean-Luc Cochard, editor,International Workshop on Oz Programming, pages 87–92. IDIAP, 1995. G. Kahn and D. MacQueen. Coroutines and networks of parallel processes. In IFIP’77, pages 993–998. Eds. B. Gilchrist. North-Holland, 1977. P. Kelly. Functional Programming for Loosely-Coupled Multiprocessors. Pitman, 1989. J. Launchbury. A natural semantics for lazy evaluation. In ACM Symposium on Principles of Programming Languages, POPL’93, pages 144–154. ACM Press, 1993.
dspace.entity.typePublication
relation.isAuthorOfPublicationbbedb91a-42c6-485f-96e8-d99df955f2c9
relation.isAuthorOfPublication7def0d88-f401-4de1-9a51-4f6c93e8234e
relation.isAuthorOfPublication.latestForDiscoverybbedb91a-42c6-485f-96e8-d99df955f2c9

Download

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Ortega02.pdf
Size:
367.47 KB
Format:
Adobe Portable Document Format

Collections