Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C or C++ for Chess Programming?

Author: Stefano Gemma

Date: 23:14:15 08/16/00

Go up one level in this thread


On August 16, 2000 at 21:08:55, Bruce Moreland wrote:

>On August 16, 2000 at 14:38:04, Severi Salminen wrote:
>
>>Well, I have to say that yes, my assembly chess program played some chess (maybe
>>at 1200 ELO...), but it was indeed hard to write and debug. Now I'm asking how
[...]
>If I did it over again I would do it in C++, but I would make sure that I
[...]
>But in any case, anything is better than assembler, that's insane, no offense to
>Frans Morsch.

Even my program (Raffaela, ex Drago) is in assembly and i know how it is hard to
debug it but... it is very amusement (divertente) to write and debug assembly
programs ;-))). I think that the hard thing is to follow the program's flow.
After some tenth lines of code, it is hard to know where a jump will... jump to.
I think that a C program is less interesting than a C++ ones, from the side of
the programmer, but maybe it is the better choice, if someone wants a fast and
readable program. I still work in assembly for the engine and C++ for the
graphical interface.

Ciao!!!



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.