I'd have to strongly second that.  Yes, it is possible to write bloated,
slow programs in C++.  It is also possible to write bloated, slow programs
in C.

In a number of ways, C++ is actually a better system programming language
than C.  They key is understanding the performance implications of using
different language features.  This is nothing new.  System programmers know
the tradeoff of << vs. * in C.  They should also know the tradeoff in
declaring a member function virtual...

Although it is pretty dated, I think that the book Windows++ by Paul
DiLascia gives a nice pragmatic introduction to C++.  Instead of showing
overly trivial sample classes and throwing out a bunch of OOP buzz words it
puts a functional wrapper around a (even then) complex OS and gives pretty
honest benefit/performance explanations.

-jjf

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 2:23 PM
To: Palm Developer Forum
Subject: Re: C Vs C++




> > I know that
> > 1. C++ app takes more memory
>> 2 .C++ app is slow on palm
>
>
> Hmmm..  Enough said?

Not really, since neither statement is necessarily true.

-- Keith




-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to