Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess programming in functional languages??!!

Author: Will Singleton

Date: 22:36:49 05/18/99

Go up one level in this thread


On May 18, 1999 at 23:38:37, Gustavo Pereira wrote:

>Does anybody know of any effort in chess programming using functional languages
>such as Haskell??
>
>I'd be really interested in starting one such project. Of course I would need
>lots of help from any of you, as I am just starting with chess programming.
>
>I would also like to know where I can find information on this subject.
>
>Thank you!!!

I read up a bit on Haskell, and while I don't know much about it, it appears
that its intended use is for applications other than chess programs.  It's very
high level, so the programmer doesn't manage things on a detailed level (like
memory allocation).  From the Haskell homepage:

"In applications where performance is required at any cost, or when the goal is
detailed tuning of a low-level algorithm, an imperative language like C would
probably be a better choice than Haskell, exactly because it provides more
intimate control over the exact way in which the computation is carried out."

otoh, anything is possible, and with advances in compilers and hardware speed,
you could probably write a very respectable program in such a language.  You
just might be at a competitive disadvantage, if that's important to you.

As far as finding out about computer chess, check out the Resource Center here
at CCC.  In the "links" area, you'll find all kinds of useful info, as well as
pointers to other info.

Will





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.