Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.sprintlink.net!demon!uknet!newsfeed.ed.ac.uk!hwcee!andrew
From: andrew@cee.hw.ac.uk (Andrew Dinn)
Subject: Re: speed of prolog
Message-ID: <DA7I1r.I0L@cee.hw.ac.uk>
Sender: news@cee.hw.ac.uk (News Administrator)
Organization: Dept of Computing and Electrical Engineering, Heriot-Watt University
X-Newsreader: TIN [version 1.2 PL2]
References: <3pam2e$9jh@chuangtsu.acns.carleton.edu> <3pptgj$6do@percy.cs.bham.ac.uk> <PAULWARD.95Jun7083106@skyhawk.torolab.vnet.ibm.com>
Date: Thu, 15 Jun 1995 08:53:51 GMT
Lines: 31

paulward (paulward@torolab.vnet.ibm.com) wrote:
: >>>>> "Lenguajes" == Lenguajes de Programacion <cc41a@dcc.uchile.cl> writes:

: Lenguajes> 
: Lenguajes> |> andrew@cee.hw.ac.uk (Andrew Dinn) writes:
: Lenguajes> |>
: Lenguajes> |> If there are any tasks where Prolog can out-perform C or C++,
: Lenguajes> |> they are *very* few and far between.  I challenge anyone to
: Lenguajes> |> produce such a Prolog program.  I am very confident that I
: Lenguajes> |> could write a C/C++ program with equal or better performance.

I didn't write the words attributed to me. I did write a comment to
which it appears to respond, viz: that Prolog can be used to better
effect than C for some problems. But let's just throw into the pot
that I think it is typical of a C/C++ pundit to regard my words as
having the sole implication that Prolog can knock the spots off of
C/C++ when it comes to bit-bashing and to assume that he, being a real
whizzhard, could disprove my point with a mere modicum of C/C++
hackery (I paraphrase and probably misrepresent but such is rhetoric).
The point I originally made, at length, was that for some tasks it
takes a lot of work to make a C/C++ program do a job efficiently
whereas even an inexperienced Prolog programmer can do the job quickly
and easily. The implication being that it is usually a good idea to
choose a language which suits the task in hand, wizard or no.



Andrew Dinn
-----------
O alter Duft aus Maerchenzeit / Berauschest wieder meine Sinne
Ein naerrisch Heer aus Schelmerein / Durchschwirrt die leichte Luft
