Re: is C necessarily faster than C++

Alistair McEwan <A.McEwan@lpac.ac.uk>
Tue, 18 Apr 1995 05:07:45 GMT

          From comp.compilers

Related articles
is C necessarily faster than C++ tbrannon@mars.mars.eecs.lehigh.edu (1995-04-03)
Re: is C necessarily faster than C++ rfg@rahul.net (Ronald F. Guilmette) (1995-04-06)
Re: is C necessarily faster than C++ maccer@MT.net (1995-04-06)
Re: is C necessarily faster than C++ dave@edo.ho.att.com (1995-04-16)
Re: is C necessarily faster than C++ t.hulek@imperial.ac.uk (1995-04-18)
Re: is C necessarily faster than C++ A.McEwan@lpac.ac.uk (Alistair McEwan) (1995-04-18)
Re: is C necessarily faster than C++ Marianne.Mueller@Eng.Sun.COM (1995-04-07)
Re: is C necessarily faster than C++ kohtala@laurel.trs.ntc.nokia.com (1995-04-09)
Re: is C necessarily faster than C++ rdo@elt.com (1995-04-10)
Re: is C necessarily faster than C++ tmb@netcom.com (1995-04-20)
Re: is C necessarily faster than C++ ruiter@ruls41.fsw.leidenuniv.nl (1995-04-20)
Re: is C necessarily faster than C++ cliffc@crocus.hpl.hp.com (1995-04-17)
[16 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: Alistair McEwan <A.McEwan@lpac.ac.uk>
Keywords: C, C++, performance, comment
Organization: London Para||el Applications Centre
References: 95-04-044
Date: Tue, 18 Apr 1995 05:07:45 GMT

tbrannon <tbrannon@mars.mars.eecs.lehigh.edu> writes:


> This guy in my lab keeps refusing to use C++ in our program intended
> to simulate somatosensory neural circuits because he says it is slower
> than C. My (uninformed) response was that most of what you see as
> overhead (ie, message routing, value accessing, type checking) is
> optimized away at compile-time.


> Any pointers to more empirical studies?


The SEL-HPC article archive has the following paper: Brad Calder,
Dirk Grunwald, and Ben Zorn "Quantifying Behavioral Differences
Between C and C++ Programs" , submitted to Journal on Programming
Language and Design.


You can find it al the following URL:
http://www.lpac.qmw.ac.uk/SEL-HPC/Articles/HpcArchive.html
where a search on the subjext matter will bring up a link to this and
any other papers related to your search.


Alistair
--
________________________________________
  London Para||el Applications Centre
  A.McEwan@lpac.ac.uk +44 71 775 3234
[It's an interesting paper. C and C++ programs are more different than I would
have expected. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.