Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!travelers.mail.cornell.edu!news.tc.cornell.edu!newsserver.sdsc.edu!news.cerf.net!usc!sdd.hp.com!gatech!paladin.american.edu!news.ecn.uoknor.edu!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: speed of Prolog
Message-ID: <9515303.14408@mulga.cs.mu.OZ.AU>
Sender: news@cs.mu.OZ.AU (CS-Usenet)
Organization: Computer Science, University of Melbourne, Australia
References: <3qdcg8$khk@newsserv.cs.sunysb.edu>
Date: Thu, 1 Jun 1995 17:01:52 GMT
Lines: 24

>vanroy@dfki.uni-sb.de (Peter Van Roy) writes:
>
>> I accept this challenge :-).
>> Consider the following Prolog program running under Aquarius 1.0:
>> 
>>   :- option(analyze).
>> 
>>   tak :- tak(24,16,8,T), write(T), nl.
[...]
>> 
>> I challenge you to give me C code that runs faster than this
>> running under Aquarius, both on a MIPS machine.

Oh, much too easy ;-)

	main() { puts("9"); }

Seriously, if the challenge is to be even vaguely meaningful,
it helps if your program reads some input at run-time.

-- 
Fergus Henderson
fjh@cs.mu.oz.au
http://www.cs.mu.oz.au/~fjh
