I've been using the C++ option almost from day-1, can't say I've noticed
much over-head bloat in my apps as compared to their earlier straight C
versions. Back when Palms shipped with 512K and 2M was a luxury, I can see
the point of making every byte count. Most users now have access to 8MB so
a few bytes of C++ overhead per app now seems trivial. I don't want to
dissuade anyone from making small, efficient apps but I also feel that the
benefits from using object-oriented code outweigh the few bytes of overhead.
As for C++ making for slower code, I haven't perceived any slow down. But
then I don't write code that has to traverse thousands of records.
----- Original Message -----
From: "Stringer" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 10:05 AM
Subject: C++ FUD
> O>n Behalf Of Scott Johnson (Bellevue)
> >Sent: Tuesday, June 26, 2001 2:45 PM
> >> From: John Wilson [mailto:[EMAIL PROTECTED]]
> >> Oops, sorry, I always enable c++ syntax.
>
> >What?! Doesn't that cause huge uncontrolled bloat and
> >slowdown? I read somewhere that you should never use
> >C++ on Palm because of the mysterious bloating and horrible performance.
> >
> >Unless all the FUD about C++ isn't actually true. :-)
>
> There are traps for careless programmers, but generally the FUD
> on C++ on Palm OS is just that, FUD.
>
> I'd strongly recommend C++ for medium size through very large projects.
> You should experience faster, smaller, more maintainable code.
> Just understand what C++ features create bloat, and strategize
> accordingly (such as exceptions, virtual functions, PC-bases classes)
>
> Roger Stringer
> Marietta Systems, Inc.
>
>
> --
> 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/