Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is C# best ideal for any chess programming?

Author: Dann Corbit

Date: 17:39:57 11/26/01

Go up one level in this thread


On November 24, 2001 at 15:53:21, Kevin Stafford wrote:

>On November 24, 2001 at 15:40:24, Tom Kerrigan wrote:
>
>>C# is more or less the same as Java, so to answer your question, no, there will
>>not be many chess engines written in C#, just as there are not many written in
>>Java.
>>
>>-Tom
>
>C# is not more or less the same as java. They share a similar syntax, but there
>are major differences in the implementation. C# as a I understand it provides
>the option of native compilation, so that there is no VM layer. Even natively
>compiled it won't be as fast as C or even C++, but should be measurably faster
>than java. Whether it will be suitable to chess applications, its still to early
>to say.

There are compilers for Java also.
Even with these compilers, performance still pales.
There is no dynamic memory allocation in either Java or C#.
Therefore, it is unspeakably lame as a language for writing chess engines.
Hoever, I predict that dozens of people will write one {just like Java}, and
(further) that only _most_ of them will blow chunks.  On the other hand, none of
them is going to be a world-beater, not even the creamy ones with a chewy nougat
center.





This page took 0.01 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.