Path: utzoo!attcan!uunet!mcvax!unido!ecrcvax!micha From: micha@ecrcvax.UUCP (Micha Meier) Newsgroups: comp.lang.prolog Subject: Re: "A Note on the Speed of Prolog" Keywords: prolog execution speed Message-ID: <564@ecrcvax.UUCP> Date: 19 Jul 88 08:57:25 GMT References: <6251@megaron.arizona.edu> Reply-To: micha@ecrcvax.UUCP (Micha Meier) Organization: ECRC, Munich 81, West Germany Lines: 16 In article <6251@megaron.arizona.edu> debray@arizona.edu (Saumya Debray) writes: >Assuming that the comparison is a fair one (i.e. noone's >writing execrable Pascal code or using the slowest Pascal system >available), this seems to suggest that using a "state-of-the-art" >Prolog system, one could actually have a Prolog version of the >compiler that was faster than the Pascal version. Well, I must say that our experiences are different, at least concerning compilers for Prolog. I'm sure everybody agrees that Quintus Prolog is a very fast Prolog, but our compiler, written in C, is about 10 times faster than Quintus compiler written in Prolog (and it does more optimizations). An interesting thing is that most of the time is spent in the first pass, i.e. reading in the clauses; maybe this makes Prolog different from other languages. --Micha