Prolog compared with LISP?

  • Authors:
  • R. A. O'Keefe

  • Affiliations:
  • University of Edinburgh, Edinburgh, UK

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1983

Quantified Score

Hi-index 0.02

Visualization

Abstract

In the recent ACM Symposium on LISP and Functional Programming, there was a paper with the title "Prolog Compared With LISP" [2] . In it, Gutierrez presents a program in LISP, and a related program in Prolog, and uses the inferior performance of the latter to suggest in strong terms that advocates of Prolog may have over-stated its performance. However, his program makes very poor use of Prolog. In this article, I point out which features of Prolog have been misused and give guidelines for their proper use. I also compare a new Prolog and LISP program performing a similar task, and find that the execution times are comparable. This is in accord with earlier results [4].