Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programming languages for chess

Author: Dann Corbit

Date: 10:42:57 07/29/05

Go up one level in this thread


On July 29, 2005 at 12:31:35, Roman Hartmann wrote:

>On July 29, 2005 at 12:26:23, Eberhard wrote:
>
>>Do you know in what programming language Shredder 9 and Fruit 2.1 were written?
>
>Fruit is written in C++ while Shredder is AFAIK written in C.

Fruit is written in C++, but it is very much a C program (not a single class in
it).

Fabien is just using C++ as "a better C" as Stroustrup likes to say.

And if he chooses to use classes at some point, he is guaranteed to have a good
start at it, because a C++ program will not contain C++ keywords like new,
delete, class, etc.

Interestingly, he does not even use new and delete operators.

Shredder is compiled with Microsoft Visual C++ and has (at least some) C++ in it
because it uses the Nalimov Tablebase files.



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.