Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Short chess programs

Author: David Hanley

Date: 15:14:17 09/19/02

Go up one level in this thread


On September 19, 2002 at 18:06:12, Severi Salminen wrote:

>>I had to download TSCP and look it over.  It's pretty compact.
>>
>>It's actually a *little* shorter. It has fewer comments but longer
>>function/variable names and more of 'em.  It's written in lisp vs C, and my
>>source is all in one file, so it's hard to compare exactly.
>
>Hmm, are you comparing _source code_??? What's the point in that??

Well, it intrests me..  Partly just to see what you really need to play chess
well..  Also things like maintainability, debugging, etc, are theoretically
easier on short programs, all other things being equal.  Partially because i
think there are so many long poorly written programs being written nowadays.   I
see simple programs with huge sources that need 128MB to do simple things, and
it irks me.

> Using one
>letter variables and function names will make source files smaller but what's
>the point comparing those?

Well, neither of us are doing such things, so it's a reasonable comparison.
Like i said, he has some more comments, but i use more small functions and
variables with longer names.

>
>I think you really want to compare executables.

No, i really don't.. ;)  It's valid, just not what i'm curious about.

> I while ago I made a assembler
>chess program which really played chess  but the source and executable are not
>on my computer now. I'll get back to this later.

That's pretty interesing, though.  I'd be curious to see it.

dave



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.