ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stockfish port to C# Complete
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Vincent Diepeveen



Joined: 09 Mar 2006
Posts: 1738
Location: The Netherlands

PostPost subject: Re: Stockfish port to C# Complete    Posted: Mon Mar 26, 2012 9:59 pm Reply to topic Reply with quote

RoadWarrior wrote:
diep wrote:
RoadWarrior wrote:
Interesting - Peter Österlund has just released a C++ implementation of his strong (Elo 2682) Java engine CuckooChess. He says that it's about twice as fast as the Java version: http://talkchess.com/forum/viewtopic.php?t=42999

Yeah about a factor of 4 it is effectively.

Vincent, just look at Peter's numbers for a clear and relevant comparison. Whatever you might say, all you have are words and what he has is working programs and an operational comparison.

Give me a couple of years to whip Amaia into shape, and then we can have a match between Diep (Spyker C12 Zagato) and Amaia (Model T Ford). That would be very interesting. Very Happy


Yeah unlike dutch Spyker default i run diep here at 64 CPU cores and i do have mellanox and nvidia as my sponsors, so blitz engines like houdini 2.0 are not really a match either to that Smile

In the end the 'rating lists' basically just play games at 10 minutes a game for 40 moves @ 4 cores or something like that. I bet some even use just 5 minutes for 40 moves. That 'determines' the elorating for the 'ratinglists' basically. It's peanuts what they do compared to what gets tested 'at home' for the engines.

But in all seriousness. We have seen 0 tests so far that objectively measured *anything* for C#.

A few 'quickies', with a lousy default GCC compile. Not the SSE4.2 where Marco is speaking about. From Sjeng spec we know that intel c++ when applying SSE2+/3/4.2 in a clever manner they won suddenly 30% in speed for it (moving to intel c++ 11.x with 10.x being before that) for i7.

So that was just generic compiler optimizations. The type that GCC never gave to Diep by the way.

We haven't seen objective benchmarks and we haven't been able to confirm it. Basically we just hear about someone who works for years in C# and then is doing a few unconfirmed tests in a quick and dirty manner, at a single core. We don't know when it turboboosted nor for which engine. If he did run it at an i7 at all, which i doubt. We basically know very little, except that there wasn't much of a test at all.

So working for 2 years from which 9+ months for optimizing the code further speedwise, then a few quickie tests and claim it's "just 2x slower" than C/C++.

That's with all respect the usual way how people try to HIDE a performance problem.

In the meantime we see 1 posting here of someone who says: "if i test at 1 core it seems not a problem, if i test at 4 versus 1 cores it's 3x slower". That wit hsome SELFWRITTEN c++ code. We know default most c++ coders over here are factor 2 slower.

Also look at Tord. For years Glaurung was relative slow speed. Then we see a bunch of programmers busy in his code and suddenly it's a lot lot faster.

There is dozens of C++ programming stories like that on how they were thinking to write C++ code very well. Comes a few other guys help them out and they magically speedup another factor 2+ in C++. I can confirm this as i personally helped a few speedup their C++ code. Now i don't pretend to be worlds best C++ programmer, as i'm very far away from that, but in most cases a factor 2 was easy to find.

If we add that factor to that 3.0 then we get to 6.0 speed difference already of C/C++ being factor 6 faster than C#.

Vincent
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Subject Author Date/Time
Stockfish port to C# Complete David Whitten Thu Mar 15, 2012 9:13 pm
      Re: Stockfish port to C# Complete Jan Brouwer Thu Mar 15, 2012 9:29 pm
            Re: Stockfish port to C# Complete David Whitten Thu Mar 15, 2012 9:45 pm
                  Re: Stockfish port to C# Complete Jan Brouwer Thu Mar 15, 2012 10:51 pm
                        Re: Stockfish port to C# Complete David Whitten Thu Mar 15, 2012 11:04 pm
                              Re: Stockfish port to C# Complete Mel Cooper Mon Mar 19, 2012 12:11 pm
                        Re: Stockfish port to C# Complete David Whitten Thu Mar 15, 2012 11:08 pm
                        Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 18, 2012 2:57 pm
                              Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 18, 2012 3:05 pm
                                    Re: Stockfish port to C# Complete David Whitten Sun Mar 18, 2012 3:24 pm
                                          Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 18, 2012 3:27 pm
                                                Re: Stockfish port to C# Complete David Whitten Sun Mar 18, 2012 3:44 pm
                                                      Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 18, 2012 3:47 pm
                                                            Re: Stockfish port to C# Complete David Whitten Sun Mar 18, 2012 3:59 pm
                                                                  Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 18, 2012 4:11 pm
                                                                        Re: Stockfish port to C# Complete Marco Costalba Sun Mar 18, 2012 4:49 pm
                                                                              Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 18, 2012 5:00 pm
                                                                                    Re: Stockfish port to C# Complete Marco Costalba Sun Mar 18, 2012 5:22 pm
                                                                              Re: Stockfish port to C# Complete Ronald de Man Sun Mar 18, 2012 5:53 pm
                                                                                    Re: Stockfish port to C# Complete David Whitten Sun Mar 18, 2012 7:01 pm
                                                                                          Re: Stockfish port to C# Complete Matthew R. Brades Sun Mar 18, 2012 7:06 pm
                                                                                          Re: Stockfish port to C# Complete Ronald de Man Sun Mar 18, 2012 7:10 pm
                                                                                          Re: Stockfish port to C# Complete Marco Costalba Sun Mar 18, 2012 10:31 pm
                                                                                          Re: Stockfish port to C# Complete David Whitten Mon Mar 19, 2012 3:55 am
                                                                                          Re: Stockfish port to C# Complete Marco Costalba Mon Mar 19, 2012 7:42 am
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Mon Mar 19, 2012 8:00 am
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Mon Mar 19, 2012 8:03 am
                                                                                          Re: Stockfish port to C# Complete Ronald de Man Mon Mar 19, 2012 7:41 pm
                                    Re: Stockfish port to C# Complete Mark Pearce Mon Mar 19, 2012 4:27 pm
                                          Re: Stockfish port to C# Complete Vincent Diepeveen Tue Mar 20, 2012 1:12 am
                                                Re: Stockfish port to C# Complete Mark Pearce Sat Mar 24, 2012 11:43 am
                                                      Re: Stockfish port to C# Complete Gary Sat Mar 24, 2012 1:15 pm
                                                            Re: Stockfish port to C# Complete Mark Pearce Sat Mar 24, 2012 3:28 pm
                                                                  Re: Stockfish port to C# Complete Mark Pearce Sat Mar 24, 2012 5:13 pm
                                                                        Re: Stockfish port to C# Complete Balint Pfliegel Sun Mar 25, 2012 7:15 am
                                                                              Re: Stockfish port to C# Complete Mark Pearce Sun Mar 25, 2012 10:40 am
                                                                        Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 25, 2012 9:50 am
                                                                              Re: Stockfish port to C# Complete Marco Costalba Sun Mar 25, 2012 10:14 am
                                                                                    Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 25, 2012 3:23 pm
                                                                                          Re: Stockfish port to C# Complete Marco Costalba Sun Mar 25, 2012 5:16 pm
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Mon Mar 26, 2012 9:34 pm
                                                                                          Re: Stockfish port to C# Complete Jim Ablett Tue Mar 27, 2012 10:23 pm
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Wed Mar 28, 2012 9:03 am
                                                                                          Re: Stockfish port to C# Complete Jim Ablett Wed Mar 28, 2012 11:13 am
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Wed Mar 28, 2012 12:39 pm
                                                                                          Re: Stockfish port to C# Complete Jim Ablett Wed Mar 28, 2012 12:48 pm
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Wed Mar 28, 2012 12:54 pm
                                                                                          Re: Stockfish port to C# Complete Jim Ablett Wed Mar 28, 2012 1:06 pm
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Wed Mar 28, 2012 1:08 pm
                                                                                          Re: Stockfish port to C# Complete Robert Hyatt Wed Mar 28, 2012 5:01 pm
                                                                                          Re: Stockfish port to C# Complete Jim Ablett Wed Mar 28, 2012 5:19 pm
                                                                                          GCC 4.7.0 versus intel c++ Vincent Diepeveen Fri Mar 30, 2012 12:15 am
                                                                                          Re: GCC 4.7.0 versus intel c++ Jim Ablett Fri Mar 30, 2012 9:18 am
                                                                                          Re: GCC 4.7.0 versus intel c++ Vincent Diepeveen Fri Mar 30, 2012 1:15 pm
                                                                                          Re: Stockfish port to C# Complete Ricardo Barreira Wed Mar 28, 2012 2:46 pm
                                                                              Re: Stockfish port to C# Complete Mark Pearce Sun Mar 25, 2012 11:03 am
                                                                                    Re: Stockfish port to C# Complete Balint Pfliegel Sun Mar 25, 2012 12:31 pm
                                                                                          Re: Stockfish port to C# Complete Vincent Diepeveen Sun Mar 25, 2012 3:39 pm
                                                                                          Re: Stockfish port to C# Complete Balint Pfliegel Sun Mar 25, 2012 4:50 pm
                                                                                          Re: Stockfish port to C# Complete Balint Pfliegel Sun Mar 25, 2012 5:05 pm
                                                                                          Re: Stockfish port to C# Complete David Whitten Sun Mar 25, 2012 8:31 pm
                                                                                          Re: Stockfish port to C# Complete Ted Wong Mon Mar 26, 2012 12:50 am
                                                                                          Re: Stockfish port to C# Complete David Whitten Mon Mar 26, 2012 10:38 am
                                                                                          Re: Stockfish port to C# Complete Balint Pfliegel Mon Mar 26, 2012 6:02 am
                                                                                          Re: Stockfish port to C# Complete David Whitten Mon Mar 26, 2012 10:42 am
                                                                                    Re: Stockfish port to C# Complete Vincent Diepeveen Mon Mar 26, 2012 9:59 pm
                                                                                          Re: Stockfish port to C# Complete Mark Pearce Tue Mar 27, 2012 7:43 pm
      Re: Stockfish port to C# Complete David Whitten Sun Mar 18, 2012 3:23 am
            Re: Stockfish port to C# Complete Balint Pfliegel Wed Mar 21, 2012 10:48 pm
                  Re: Stockfish port to C# Complete David Whitten Thu Mar 22, 2012 4:19 am
                        Re: Stockfish port to C# Complete Balint Pfliegel Thu Mar 22, 2012 6:51 am
                              Re: Stockfish port to C# Complete David Whitten Thu Mar 22, 2012 3:19 pm
                                    Re: Stockfish port to C# Complete Balint Pfliegel Fri Mar 23, 2012 5:47 am
      Re: Stockfish port to C# Complete Jim Ablett Wed Mar 28, 2012 4:14 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads