Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: .Net engine

Author: Albert Bertilsson

Date: 01:53:53 02/13/04

Go up one level in this thread


On February 12, 2004 at 18:35:48, Andrew Wagner wrote:

>     Hi all. I have embarked on a most interesting project...writing a chess
>engine in VB.Net. They say that .Net languages are supposed to be so much slower
>because of the framework...will be interesting to see if it's true. If nothing
>else, this is a great opportunity for me to learn more about .Net. Any thoughts
>on this?
>     Also, one interesting thing I've run across...it seems to me from my
>research that using the Byte data type is more efficient memory-wise when
>working with small integers than using an integer data type, but it's actually
>slower somehow when doing math operations.
>           1.) Can anyone verify for me that this is true?
>       and 2.) Which is more important?

Good luck with your project, I found that there is a speed penalty when
comparing C# with C++ for Chess programs, but the difference is quite small.
#Chess (or SharpChess) was slow due to the datastructures it used, I don't think
that using .Net or Java is any issue except if you want to write an engine
playing with the top 50.

You can find #Chess and it's source at my home page www.albert.nu.

/Regards Albert



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.