Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Can a Programming Language Cause Engines to be Slow?

Author: Robert Hyatt

Date: 14:46:22 11/15/02

Go up one level in this thread


On November 15, 2002 at 04:31:11, Daniel Clausen wrote:

>On November 14, 2002 at 20:15:44, Vincent Diepeveen wrote:
>
>>Also JAVA will *never* be as fast as c(++), no *matter* the implementation.
>
>Care to elaborate on that? What 'feature of Java' or 'language construct'
>doesn't allow Java to be as fast as C++?

None.  Sentences with "never" or "always" are false 99.99999% of the time.

Good rule to remember...


>
>The only thing I can see at the moment is the fact that in Java all methods are
>virtual, whereas in C++ you can (I'd say 'have to') define which methods are
>virtual and which are not. But the speed advantage of non-virtual methods is not
>really that big... (basically it's just one more pointer-indirection)
>
>Btw: The speed of Java is not as bad as many believe. But somehow it stays in
>peoples heads forever, no matter what. Similarly to cookies in web-programming,
>which will stay 'dangerous' for all time.
>
>Sargon



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.