Search found 984 matches

by Joost Buijs
Thu Apr 14, 2011 8:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FreePascal and HashTables' size problem/anomaly
Replies: 11
Views: 1385

Re: FreePascal and HashTables' size problem/anomaly

Each field is aligned on 64 bits even the byte values, this will speed up things a little bit, but in practice you wont notice any difference. I also have a problem with free Pascal, I wont let me allocate more than 4 gig. memory. I tried everything, even linking a module with C++ memory allocation ...
by Joost Buijs
Thu Apr 14, 2011 8:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FreePascal and HashTables' size problem/anomaly
Replies: 11
Views: 1385

Re: FreePascal and HashTables' size problem/anomaly

Is it possible that your problem will be solved if you use packed records instead of normal (unpacked) records?
The compiler probably is aligning each record field on a 64 bit boundary.
by Joost Buijs
Thu Apr 14, 2011 7:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6769

Re: Speed vs ELO gain

I've programmed my engine "Sjakk" in Visual Basic (Express 2010). This is quite a slow language without support for inline statements, and I don't get any speedup when I compile it to 64 bit (not even on the move generation where I use bitboards). My engine on a 2.00 GHz computer does about 100 K N...
by Joost Buijs
Thu Apr 14, 2011 7:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6769

Re: Speed vs ELO gain

It would be faster, but the nodes per second would be a lot slower. Moves are not nodes. What you count now is more accuratey described as moves/sec than as nodes/sec. Well I guess it is just a matter of opinion. This is the way I do it for almost 34 years now. I count each new position as a node. ...
by Joost Buijs
Thu Apr 14, 2011 12:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6769

Re: Speed vs ELO gain

It depends on what you count as nodes. If a node is defined as a move generation your perft speed would probably be quite a bit lower. What I mean with a node is generate the move, do the move on the board and undo the move on the board. When I would just count the number of moves generated at the ...
by Joost Buijs
Thu Apr 14, 2011 5:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6769

Re: Speed vs ELO gain

I've programmed my engine "Sjakk" in Visual Basic (Express 2010). This is quite a slow language without support for inline statements, and I don't get any speedup when I compile it to 64 bit (not even on the move generation where I use bitboards). My engine on a 2.00 GHz computer does about 100 K N...
by Joost Buijs
Thu Apr 07, 2011 12:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delphi 64-bit sneak preview
Replies: 7
Views: 2081

Re: Delphi 64-bit sneak preview

In MSVC I use intel inline assembler. Hi, Since you are using inline assembler with MSVC I assume that your C++ engine runs in 32 bit mode as well. MSVC does not support inline assembler in 64 bit mode. It will make a lot of difference speedwise when you compile your bitboard engine with a 64 bit c...
by Joost Buijs
Wed Apr 06, 2011 9:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delphi 64-bit sneak preview
Replies: 7
Views: 2081

Re: Delphi 64-bit sneak preview

My experience from porting my engine from free pascal to c++ was that the free pascal code is a bit slower than g++, but faster than Visual C++. Maybe you don't use bitboards or 64 bit because my experience is totally different. I keep a 1 to 1 copy of my C++ engine in Pascal and compared to MSVC++...
by Joost Buijs
Wed Apr 06, 2011 1:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delphi 64-bit sneak preview
Replies: 7
Views: 2081

Re: Delphi 64-bit sneak preview

I hope the code generator will be optimizing better then the one from Free Pascal.
In 64 bit mode the output from Free Pascal is about two times slower then the output from a modern C++ compiler.
by Joost Buijs
Wed Apr 06, 2011 4:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line blitz tourney April
Replies: 7
Views: 1457

Re: On-line blitz tourney April

Hi HG, Last week Bart and myself build a decent PC for Bart to use at his own home. Unfortunately the problem that Bart gets to see my game each time I start a new one is still there and never the other way around. Now the IP adresses are totally different so it can't be a strange router bug. It loo...