>> 1. C++ app takes more memory
>Only if you use inheritance. Inheritance requires vtables which can take up
>some memory. All depends on how many classes and virtual methods you have.
Inheritance in itself does not require more memory !
Only virtual methods require vtables and so take more memory and slowdown
the program
>> 2 .C++ app is slow on palm
>C++ is merely a layer above C, which is solved at compile and link time. So
>it's not slower than C unless you write classes and methods that slow
>everything down. You can use inlines to make your text code look clever and
>your machine code be very fast.
I'm agree C++ was designed to provide zero-overhead, i.e. you pay for any
expensive C++-feature only if you realy use this feature.
But we can't know what is the quality of Metrowerks compiler :-(
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/