Nondeterminism with Referential Transparency in Functional Programming Languages
Procedural programmers have found nondeterminism to be unavoidable in many parallel programs (e.g. operating systems). If functional programming languages are to be usable as general-purpose parallel- programming languages then provision of some nondeterminism language construct appears to be necessary. Existing constructs for nondeterminism are not functional and are not compatible with the mathematical foundations of functional programming, which require that the value of a function be uniquely determined by the values of its arguments. We propose to solve this problem by placing the nondeterminism in pseudo- data. A program is passed an infinite tree of two-valued decisions, along with its input. These decisions may be fixed at run time, thereby permitting nondeterminism. Once fixed, a decision remains unchanged, so equivalent expressions must always have the same value. The approach generalizes so that a program can make use of other run-time information such as the current time or the current amounts of available storage.
- Message-based functional operating systems
- Referential transparency, definiteness and unfoldability
- An optimal data structure to handle dynamic environments in non-deterministic computations
- Non-determinism analysis in a parallel-functional language
- scientific article; zbMATH DE number 3878326 (Why is no real title available?)
- scientific article; zbMATH DE number 3878329 (Why is no real title available?)
- Distributed random number generation
- Encapsulating non-determinacy in an abstract data type with determinate semantics
- scientific article; zbMATH DE number 7356679 (Why is no real title available?)
- Safe nondeterminism in a deterministic-by-default parallel language
- Correctness of non-determinism analyses in a parallel-functional language
- Nondeterminism analysis of functional logic programs
- Enhancing functional and irregular parallelism: Stateful functions and their semantics
This page was built for publication: Nondeterminism with Referential Transparency in Functional Programming Languages
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3792225)