Computer Chess Club Archives


Search

Terms

Messages

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

Author: Daniel Clausen

Date: 01:31:11 11/15/02

Go up one level in this thread


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++?

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.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.