Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: c,c++5,c#.

Author: Bo Persson

Date: 04:32:21 08/14/04

Go up one level in this thread


On August 12, 2004 at 16:11:04, Omid David Tabibi wrote:

>
>A good C++ program cannot run faster than a good C program doing same thing.
>Just like a good C program cannot run faster than a good Assembly program doing
>same thing.
>

Did you check out my reference in the other part of this thread:

"Here is another guy (B. Stroustrup) who has the same view. It his probably his
view originally.  :-)

Please read his paper "Learning Standard C++ as a New Language", where he shows
how to write C++ that is both smaller and much faster than the corresponing C
code:

http://www.research.att.com/~bs/new_learning.pdf

"

There you have an example of exactly that - C++ can be inherently faster than C
for some operations, because it has additional capabilities.


Bo Persson



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.