Just a small note....The version of STL and MSL in CW Palm 6 was _not_ designed
with the Palm OS in mind....however CW Palm 7 does have a subset of the STL
designed with the memory-constrainted environment of the Palm OS in mind...

-- jkl

----- Original Message -----
From: "Andrey" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 11:45 AM
Subject: Re: C++ FUD


>     I has the same reflection some time ago, but now ... Hre some facts:
>     - C++ programs have VERY serious limits not related to stack size or
> app. size or perfomance. Thats limits related to OS and MW's C++
> implementation.
>     - sze of C++ programs rise VERY quickly especialy if you use STL
>     - if you want to use C++ becouse there are billions of solutions already
> implemented in C++ and you want to use them(thats was my reason) you will be
> disappointed, it is really pain in the ass to port some algorithm to Palm,
> especialy if it use STL.
>     - STL is partialy implemented by MW and you may get some design time
> errors that not easy to find. Example: memset is defined but not implemented
> and of course used in some STL or CRT function, so if you add some
> function(or use some constructor)  in programm even without knowing about it
> programm will compiles well but linker will generate error, and you must to
> find what did you miss.
>     - many other annoying things.
>
>     Anywhay I am now use C++ and I hope this problems will gone.
>     P.S: All it related to Metrowerks CW6
>
> "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
> news:54528@palm-dev-forum...
> >
> > 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/
>


-- 
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