Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Tiny chess engine...?

Author: Uri Blass

Date: 14:57:09 09/24/02

Go up one level in this thread


On September 24, 2002 at 17:20:22, Nick Pelling wrote:

>Hi Uri,
>
>On September 24, 2002 at 14:13:46, Uri Blass wrote:
>>>I've been asked to find a tiny - no, a *really* tiny - chess engine.
>>
>>I think that it is easy.
>>chess engines do not need book to play and the same for graphic
>>and display.
>
>Ummm... this one does. It won't be running under winboard. :-(
>
>>44K is more than enough to write an engine.
>
>It depends where you're starting from, where you need to get to, and how long it
>needs to take... as normal, 44K is only one constraint of many. :-/
>
>>Tscp is clearly less than 64K unless you include also
>>the exe file and not only the.
>
>tscp is a good suggestion, thanks... though (in an ideal world) I would like an
>even stronger (yet just as compact) engine. Perhaps I'll find one out there.
>
>Under VC6.0, compiling tscp with the release build (compiling with the "minimum
>size" option - other options didn't seem to make any difference at all) produces
>a 61440-byte EXE. That's fairly small... but it's still larger than 44K, and may
>still be too large for my target, no matter what I do.

I thought about the size of the code and not the size of the exe file.

When I look at the exe file of tscp I see that is clearly more than 100 kbytes.
Gerbil seems more simple than tscp based on the size of the executable(only 92
Kbytes) but I know that Gerbil includes clearly more code than tscp.

Public Movei exe is even smaller than the exe of Gerbil inspite of the fact that
movei is also more complex than tscp.

I have no idea how to do a small executable because I do not know a way to
predict the size of the executable.

In movei the size of the code is clearly bigger than the size of the exe file
and it is the opposite in tscp.

The size of my last exe file is only 90112 bytes(public movei is 86016 bytes)

I tried minimize size with the last movei and the size was 81920 bytes exe.

Uri



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.