Author: Graham Laight
Date: 09:05:26 08/01/03
Go up one level in this thread
On August 01, 2003 at 05:21:06, Omid David Tabibi wrote: >>>Recently there was some initiative to replace C++ with Python as the main >>>programming language in our CS department. That initiative was fortunately >>>blocked, now we just have to block Java from taking over :) If it was up to me, >>>I would have replaced all those Prolog/Scheme/etc courses with more >>>C/C++/Assembly stuff! Why the hell should the students learn Prolog these days?! >> >>If I were writing a rules-based expert system, and I was given a choice between >>Prolog and assembly, I know which I'd choose* - even if it meant that the >>resulting system would take a tenth of a second to make a decision rather than a >>hundreth! >> > >Think practically, how often are you required to write such a system and your >only choices are Prolog and Assembly?! > >Comparing Prolog with Assembly in comparing apples with oranges. Whatever you >can do with Prolog can also be done easily with C++ (or Java), but you cannot >substitute Assembly with another language (when speed is really needed). No - Prolog is full of rich rules-processing fuctionality which would be difficult and costly to re-invent. What you might be able to do is to buy a rules library for C++ - if anyone is selling such a product. -g >>-g >> >>*Assuming it wasn't a time-critical application
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.