I meant not the speed of writing the code.I am asking the running time  of
the executable code of C is less or for C++ is less? ( for the same project
)

On Fri, Jan 16, 2009 at 10:46 PM, Sharad Birmiwal
<[email protected]>wrote:

>
> On Fri, Jan 16, 2009 at 7:19 AM, NAGAMOHAN YENUGANTI
> <[email protected]> wrote:
> > I heard that C++ is somewhat slower than C because of some memory
> overhead.
>
> I am not too sure about that. For example, a quick search returned
> http://unthought.net/c++/c_vs_c++.html though I also found
>
> http://www.scribd.com/doc/2296462/C-vs-C-Performance-Comparison-Virtual-Functions-Inheritance-
> (which has an opposite opinion). BTW, you may also like to see
> http://en.wikipedia.org/wiki/C%2B%2B#Criticism
>
> > For a fixed industrial level project , writing in C is faster than C++.
> Is
> > it true
>
> I don't know what fixed industrial level projects are, but IMHO, since
> C++ allows for C (and much more), it would be _faster to write_ the
> program for a C++ compiler.
>
>
> Sharad
>
> >
>


-- 
Y.NagaMohan

--~--~---------~--~----~------------~-------~--~----~
l...@iitd mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to