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/

Reply via email to