ComputingComputer EngineeringComputer ScienceParallel ComputingProgramming LanguagesTheory Of ComputationConcurrent ProgrammingParallel Computing SystemsParallel Programming ModelsDeterministic Parallel ProgrammingNon-deterministic Bug ReproductionParallel Program Design
Programs written using a deterministic-by-construction model of parallel computation are guaranteed to always produce the same observable results, offering programmers freedom from subtle, hard-to-reproduce nondeterministic bugs that are the scourge of parallel software. We present LVars, a new model for deterministic-by-construction parallel programming that generalizes existing single-assignment models to allow multiple assignments that are monotonically increasing with respect to a user-specified lattice. LVars ensure determinism by allowing only monotonic writes and "threshold" reads that block until a lower bound is reached. We give a proof of determinism and a prototype implementation for a language with LVars and describe how to extend the LVars model to support a limited form of nondeterminism that admits failures but never wrong answers.
25
The Semantics of a Simple Language for Parallel Programming.
Gilles Kahn · IFIP Congress · 1974 · 2.1K citations
Edward A. Lee, David G. Messerschmitt · Proceedings of the IEEE · 1987 · 1.8K citations
Koen Claessen, John Hughes · ACM SIGPLAN Notices · 2011 · 1K citations
Werner Vogels · Communications of the ACM · 2008 · 1K citations · Full text