Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What's the best programming language for chess?

Author: Pallav Nawani

Date: 08:45:56 02/24/05

Go up one level in this thread


On February 24, 2005 at 06:20:04, William Penn wrote:

>
>That was 10-20 years ago. I haven't done any programming since then and know
>nothing about what works on these new "IBM-compatible" machines. That's partly
>because they come without any user programming language installed like all of
>the early PC machines did with Basic. Of course I've heard about C, Fortran,
>Visual Basic, and such things but know very little about them.

Try Linux based PC's. They come with more programming languages preinstalled
than you would care to learn. Or buy a linux distribution such as Mandrake and
install it on your PC.
Examples:
C, C++, Fortan, PERL, Python, Tcl etc etc.

>
>If I decide to get back into the programming game, I could use some advice about
>what language(s) to learn or where to begin. I would want a versatile
>higher-level language for designing and testing my algorithms, but one which can
>eventually be translated/compiled into the lowest-level, fastest code (if that's
>a reasonable expection?).

Either C or C++ would be good choices. C fits the bill well, and is easier to
learn, and probably the fastest higher level language around. Plus, GTK, the
toolkit used to write GUI's in Linux (amongst others) is written in C, so you
would be right at home with it.

>Goals: I would probably be inclined towards writing a chess database system
>(like I did for the C64), and maybe chess playing software with a GUI and engine
>too (never got around to the engine part with the C64). Other criteria: it's
>gotta be cheap, preferably free language software. Also I don't care what op
>system is used, but am only familiar with windows at this point.

Again, when you buy a Linux distro, you will get compilers, editors, IDEs etc
for free. Also, if you have a LUG (Linux Users Group) around where you live, you
may be able to get hold of a Linux distro for just the cost of CDs.

Best regards,
Pallav




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.