Parallel execution of prolog programs
Gopal Gupta, Enrico Pontelli, Khayri A. M. Ali et al. · ACM Transactions on Programming Languages and Systems · 2001
Since the early days of logic programming, researchers in the field realized the potential for exploitation of parallelism present in the execution of logic programs. Their high-level nature, the presence of nondeterminism, and their referential transparency, among other characteristics, make logic programs interesting candidates for obtaining speedups through parallel execution. At the same time, the fact that the typical applications of logic programming frequently involve irregular computations, make heavy use of dynamic data structures with logical variables, and involve search and speculation, makes the techniques used in the corresponding parallelizing compilers and run-time systems potentially interesting even outside the field. The objective of this article is to provide a comprehensive survey of the issues arising in parallel execution of logic programming languages along with the most relevant approaches explored to date in the field. Focus is mostly given to the challenges emerging from the parallel execution of Prolog programs. The article describes the major techniques used for shared memory implementation of Or-parallelism, And-parallelism, and combinations of the two. We also explore some related issues, such as memory management, compile-time analysis, and execution visualization.
Cited by 155 works. doi:10.1145/504083.504085 Open-access PDF
Authors
References
- Lecture Notes in Computer Science 1205
- Principles of database and knowledge-base systems
- Abstract interpretation
- Proceedings of the 19th International Joint Conference on Artificial Intelligence
- Foundations of Logic Programming
- Principles of database and knowledge-base systems, Vol. I
- Logic for problem solving
- Increasing tree search efficiency for constraint satisfaction problems
- Foundations of logic programming; (2nd extended ed.)
- The Art of Prolog