Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: On Beowulf - long post

Author: Vincent Diepeveen

Date: 08:20:09 06/05/01

Go up one level in this thread


On June 05, 2001 at 10:20:19, Colin Frayn wrote:

>On June 05, 2001 at 08:56:05, Vincent Diepeveen wrote:
>
>>Now see what i get in beowulf. Instead of that in 2001 dudes program
>>better they program things out FOR EVERY PIECE.
>>Even blackpawns and whitepawns are written out.
>>Man such a student i would directly ship back.
>
>Well if you can speed it up your way, then go ahead.  Come back and continue
>complaining if you can get 1% speed increase out of it.  In fact I would be
>surprised if you can avoid a 5% speed drop by writing it as you say.
>
>>How do you plan to let people learn from this code?
>>They must learn to "write everything out"??
>
>Only if they want their code to work quickly.  It's their choice, I suppose.
>
>>Please use a few for loops, even in bitboards you can do that,
>>or have you forgotten how loops work?
>
>I just remembered how slow they are.  Perhaps you would find a loop easier to
>read, but I tend to find things easier when they're written out in a logical
>fashion.
>
>Run my movegen against yours and post the results.

Oh well here i've got you.

First i read a post from Dan Corbitt that it's about readability.

I complained about the readability, and didn't even complain about it's
slowness, because in general bitboards are slow at 32 bits processors.

But to talk about speed... ...i compared crafty move generator
extensively with DIEP and at a 32 bits processor: PII and P3 my
move generator is 2.2 times faster.

I don't know how much slower or faster this piece of junk is when
compared to crafty, probably slower as crafty, that's up to you
to figure out.

That would make it a factor of 3 times faster my move generator?

Note my move generator is in C and YES i'm not having code for
each piece.

That would again speed me up. But i love general code too much to
do it, also the code size of DIEP is already like 500kb or something,
so adding even more code to that isn't my aim.

Also i could speed it up using 8 bits arrays. Especially on K7
that would it make hell faster. but i like to keep everything
portable and 32 bits.

So your piece of junk is
  a) not very well readable
  b) bad to teach others how to make a chessprogram
  c) dead slow

>Cheers,
>Col



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.