Encapsulating non-determinacy in an abstract data type with determinate semantics
- 1 January 1991
- journal article
- research article
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 1 (1), 3-20
- https://doi.org/10.1017/s0956796800000046
Abstract
A parallel program may be indeterminate so that it can adapt its behavior to the number of processors available.Indeterminate programs are hard to write, understand, modify or verify. They are impossible to debug, since they may not behave the same from one run to the next.We propose a new construct, a polymorphic abstract data type called an improving value, with operations that have indeterminate behavior but simple determinate semantics. These operations allow the type of indeterminate behavior required by many parallel algorithms.We define improving values in the context of a functional programming language, but the technique can be used in procedural programs as well.Keywords
This publication has 9 references indexed in Scilit:
- Speedup versus efficiency in parallel systemsIEEE Transactions on Computers, 1989
- Indeterminate behavior with determinate semantics in parallel programsPublished by Association for Computing Machinery (ACM) ,1989
- Functional Programming for Concurrent and Distributed ComputingThe Computer Journal, 1987
- A General PASCAL Program for Map Overlay of Quadtrees and Related ProblemsThe Computer Journal, 1987
- An overview of MirandaACM SIGPLAN Notices, 1986
- Speculative computation, parallelism, and functional programmingIEEE Transactions on Computers, 1985
- Miranda: A non-strict functional language with polymorphic typesLecture Notes in Computer Science, 1985
- Garbage collection and task deletion in distributed applicative processing systemsPublished by Association for Computing Machinery (ACM) ,1982
- Deleting Irrelevant Tasks in an Expression-Oriented Multiprocessor SystemACM Transactions on Programming Languages and Systems, 1981