Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Why is assembly more effecient than C?

Author: Robert Hyatt

Date: 11:36:22 09/27/98

Go up one level in this thread


On September 27, 1998 at 09:49:18, Amir Ban wrote:

>On September 26, 1998 at 18:15:51, John Coffey wrote:
>
>>On September 26, 1998 at 18:00:26, James Robertson wrote:
>>>>>Yes, that was when my program had nothing but alpha-beta. Also, most of the
>>>>>program is written in Assembly which increased my NPS over the C++ version by
>>>>>>300%.
>>>>>
>>>>>James
>>>>
>>
>>
>>
>>C++ is a different matter then C.  When I think of C++, the first word that
>>comes to my mind is the word "overhead."  But I guess that depends upon if
>>you were using much C++ functionality.
>>
>>John Coffey
>
>
>I'm getting deja-vu here. Didn't we have this thread already several months ago
>? Anyway, this is where I come in and defend C++:
>
>There is no overhead at all involved in using C++.
>
>Amir


that's only true if you use the C++ syntactical tricks without using the
major C++ functionality, namely object constructors/destructor stuff, which
is where the overhead grows quickly.



This page took 0.08 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.