Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I'd recommend Delphi

Author: Steve Maughan

Date: 03:32:19 10/25/99

Go up one level in this thread


On October 25, 1999 at 04:55:29, David Blackman wrote:

>All objects go on the heap, i think?

What do you mean by this?  Object procedures and function only go on the heap if
there are more than two arguements.

>So with Delphi you might end up writing most of the tough stuff without objects.
>That's certainly possible to do, but might not be what most people would have in
>mind when they chose Delphi over something else.

My app uses object for everything and still manages a 'reasonable' speed.

>Apart from that, the impression of the Delphi programmers around here is that
>the runtime speed is "acceptable" rather than "blindingly fast". Getting the
>last 20% of raw speed is not all that important for computer chess, so maybe
>this is ok. And maybe the programmers here have missed some important compiler
>flags?

I doubt that it is 20% slower than VC++ when doing integer processing (ie chess
programming).  It may be slower than VC++ for floating point stuff, as there is
no FP optimization.  In all of the benchmarks I've seen it seems to beat VC++ at
integer and string manipulation.  Have you seen any test where VC++ has done
better - I'd be interested (of course not Microsoft).

Another advantage of Delphi is that the GUI is simple to write.  My freeware
Othello program only took one day to write the GUI.

Yes I can see many reasons why someone would want to go the C++ route.  I myself
am frustrated that Delphi does not support Win CE - but I do think there is
quite a bit of snobbery regarding C++ and Delphi.  For someone who wants to
LEARN programming with an interest in chess programming I think Delphi is a
better choice.  They will get a thorogh grounding on OO and the learning curve
is not as steep.

Steve Maughan



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.