Thanks Dave for such an AWESOME reply, Dimitry probably had a bad hair day
because he's normally pretty good with his helpful answers... anywho, I too
have successufuly used C++ and as long as you stick to the rules you have
mentioned it's actually pretty good and makes your life easier.
I love if for the use of references instead of pointers and have cut down my
hard pointer crashes to less than 1% and makes my code more legible....
Thanks Dave...
> From: [email protected]> To: [email protected]> Subject: Re: C vs
> C++> Date: Mon, 19 Jan 2009 08:50:36 -0800> > > On Jan 19, 2009, at 7:11 AM,
> luis maldonado wrote:> > > Most of us are not as knowlegeable as you are on
> the inner workings > > of c and c++ so why don't you gives a small sample of
> your > > brilliance on the subject.> >> > Why can't C++ be used on the palm
> os?> > I wasn't originally going to respond to Dmitri's answer, because it >
> was flippant and added no real insight, but for others' benefit:> > It's
> perfectly possible to use C++ successfully for Palm development, > and my
> company has successfully delivered many many titles over the > years and all
> of them use C++. Some caveats:> > - rtti tends to be a memory hog, so it's
> not recommended.> - afaik, exceptions still don't work correctly under
> prc-tools/pods.> - the vtables are stored in global memory, so you can't use
> C++ > objects with virtual methods unless you have globals.> - overuse of
> templates will often fill up the first segment and it's > difficult to map
> template functions into a different segment.> > If you follow the above
> rules, you'll do fine with C++. Our projects > use an extensive class library
> that implements strings, vectors, > auto_ptrs (an an equivalent for
> resources), abstract database access, > and a lot of other useful classes.> >
> C++ has significantly improved our development cycle; if you're > comfortable
> with C++ and OOP you should use it.> > -- > Dave Carrigan> [email protected]>
> Seattle, WA, USA> > > -- > For information on using the ACCESS Developer
> Forums, or to unsubscribe, please see
> http://www.access-company.com/developers/forums/
_________________________________________________________________
Windows Liveā¢: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/