Search found 85 matches

by whittenizer
Thu Mar 22, 2012 6:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish 2.2 IOS source
Replies: 12
Views: 2032

Stockfish 2.2 IOS source

Hey there, I've shifted focus from WP7 to iPhone for now. I'm putting C# on hold as I'm finding it very difficult to get the performance I desire. Its just the nature of things, and was really expecting much better results. Anyways, what source is the Stockfish 2.4 for iOS using? I'm guessing its no...
by whittenizer
Thu Mar 22, 2012 4:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

Hi there. Thanks for the reply. The port is complete but dealing with performance issues. It very well may be that its as good as its going to get. I'm halting any further work for now so I can rethink my goals and objectives. If anything this was a learning experience but it certainly fell a bit sh...
by whittenizer
Tue Mar 20, 2012 5:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Possible SF bug
Replies: 3
Views: 835

Re: Possible SF bug

Yes, as stated before, it doesnt happen all the time. If I do a depth 10 search, it never crashes. So, something going on there. I'll debug it more tonight, and get back to you guys as to my findings.

Thanks for the reply.
by whittenizer
Tue Mar 20, 2012 1:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Possible SF bug
Replies: 3
Views: 835

Possible SF bug

Hey guys, In testing things, I've uncovered an issue with the following position in both the C++ and C# versions: position startpos moves e2e4 e7e5 g1f3 b8c6 f1c4 g8f6 f3g5 d7d5 e4d5 c6a5 c4b5 c7c6 d5c6 b7c6 d1f3 f8e7 b5c6 a5c6 f3c6 c8d7 c6c4 e8g8 d2d3 go depth 12. With this, I get an abort() error,...
by whittenizer
Mon Mar 19, 2012 3:55 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

This is interesting then. At some point I plan on using the code on my Silverlight web site. In that case, I would need a license then? Keep in mind alot of the code is C# specific because of no direct translations. Where do we draw the line in saying someone has copied the code and thus needs a lic...
by whittenizer
Sun Mar 18, 2012 7:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

Hum, I'm getting mixed views here. I've paid to have SF translated. Am I obligated to release my code or not?

I said I would but is it necessary for compliance purposes?
by whittenizer
Sun Mar 18, 2012 3:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

I've hired this guy to do it. I mean, as far as our agreement, he's completed the task. Everything is working fine. Book.bin is working, the same exact moves are coming back in C# as it is in C++. It just needs some performance enhancements. I'm planning on doing some search and evaluation enhanceme...
by whittenizer
Sun Mar 18, 2012 3:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

Sorry about not fully answering your questions. Well, I'm running an i-7 with 8 processors. I'm using 1024 for the hash, and compiled it using Visual Studio 2010 with the Optimize checkbox check under build settings. Other than that, I'm not much up on the inner working of compilers. Honestly, I'm v...
by whittenizer
Sun Mar 18, 2012 3:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

Yep, we started this just a few months ago. As for testing, I know the 1.5 times slower is not detailed enough. There's much more in depth testng I'll be doing but I need to fix the operators to get the perofrmance up where it needs to be. I mean its pretty darn fast now but I want it better. Also, ...
by whittenizer
Sun Mar 18, 2012 3:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish port to C# Complete
Replies: 73
Views: 10320

Re: Stockfish port to C# Complete

Alright. I've uncovered the performance culprit. We are using implicit operators so we can actually do loops on the types. Also, operators in general are hurting us too. The Pointer implementation is using these operators extensively. I've fixed a few areas already using regular ints for the loops, ...