Article View: comp.lang.prolog
Article #888Re: Proof that Prolog can be faster than C
From: Christer Ericson
Date: Wed, 13 Jun 1990 10:03
Date: Wed, 13 Jun 1990 10:03
25 lines
1719 bytes
1719 bytes
In article <36986@ucbvax.BERKELEY.EDU> vanroy@pisces.uucp () writes: > >[Stuff about some particular Prolog implementation being faster that some >other particular C implementation deleted] > >Disclaimer: this benchmark has a particularly easy translation to C. >The result does not necessarily hold for other programs. But don't >you believe it anymore that Prolog is slow! > This is silly! Haven't you learned yet that no language is faster/slower than another language - it's the implementation that's faster/slower than that other implementation. The worst thing I know is people saying things like C is faster than Pascal, because it isn't. Most C compilers generate faster code than most Pascal compilers, true, but that's only because C heavily depends upon (read allows) the programmer to optimize the code while the Pascal compiler has to figure it all out by itself. > Peter Van Roy /Christer | Christer Ericson Internet: christer@cs.umu.se [130.239.1.101] | | Department of Computer Science, University of Umea, S-90187 UMEA, Sweden | | "I bully sheep. I claim God doesn't exist..." |
Technical Details
Message-ID:
<1990Jun13.100341.7148@cs.umu.se>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!sunic!cs.umu.se!christerReferences:
<36986@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!sunic!cs.umu.se!christer From: christer@cs.umu.se (Christer Ericson) Newsgroups: comp.lang.prolog,comp.lang.c Subject: Re: Proof that Prolog can be faster than C Message-ID: <1990Jun13.100341.7148@cs.umu.se> Date: 13 Jun 90 10:03:41 GMT References: <36986@ucbvax.BERKELEY.EDU> Sender: news@cs.umu.se (News Administrator) Reply-To: christer@cs.umu.se (Christer Ericson) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 25