Analyzing logic programs with dynamic scheduling

  • Authors:
  • Kim Marriott;María José García de la Banda;Manuel Hermenegildo

  • Affiliations:
  • Dept. of Computer Science, Monash University, Clayton Vic 3168, Australia;Facultad de Informática - UPM, 28660-Boadilla del Monte, Madrid, Spain;Facultad de Informática - UPM, 28660-Boadilla del Monte, Madrid, Spain

  • Venue:
  • POPL '94 Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
  • Year:
  • 1994

Quantified Score

Hi-index 0.01

Visualization

Abstract

Traditional logic programming languages, such as Prolog, use a fixed left-to-right atom scheduling rule. Recent logic programming languages, however, usually provide more flexible scheduling in which computation generally proceed left-to-right but in which some calls are dynamically “delayed” until their arguments are sufficiently instantiated to allow the call to run efficiently. Such dynamic scheduling has a significant cost. We give a framework for the global analysis of logic programming languages with dynamic scheduling and show that program analysis based on this framework supports optimizations which remove much of the overhead of dynamic scheduling.