Back to search

McGill University

Parallel implementation of lazy functional languages using abstract demand propagation

Abstract

dc:description.abstract

This thesis investigates the implementation of lazy functional programming languages on parallel machines using a novel approach to strictness analysis called "abstract demand propagation" and examines the impact of laziness on parallelism. Although some work on strictness analysis using demand propagation has been done before, the present work is original in that it gives a precise interpretation of the notions of demands and demand propagation using non-standard denotational semantics. The intuition behind the notion of (abstract) demand propagation is that it can be seen as a form of (abstract) inverse computation. This form of strictness analysis has been incorporated into a prototype compiler for a lazy variant of (a subset of) the Id functional programming language targeted for the TTDA dataflow machine, which makes it the first implementation of a lazy language on a dataflow architecture. The overall structure of that compiler is described together with some novel features incorporated in the compiler. The last part of the thesis examines the question of whether sufficient parallelism can be obtained from programs written in a lazy functional language, which is done by comparing various implementation strategies: purely lazy, optimized lazy and lenient. As little parallelism can effectively be obtained using lazy strategies, the notion of "bounded speculative laziness" is introduced in order to tentatively improve the parallelism of the programs while preserving the key characteristic of laziness, i.e., the ability to manipulate potentially infinite data objects.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Grantor dc:publisher
McGill University
Year dc:date.issued
1994

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Tremblay, Guy
Advisor dc:contributor.advisor
  • Gao, G. R. (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
892487630
Dc Identifier Other
hyrax:sf268705x

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Tremblay, Guy. Parallel implementation of lazy functional languages using abstract demand propagation. McGill University, 1994. https://doi.org/10.82308/33886