Subject: Re: C vs C++
From: "Alexey Tikhvinsky" <[EMAIL PROTECTED]>
Date: Wed, 06 Oct 2004 12:13:06 +0400

On Tue, 5 Oct 2004 19:23:48 -0700, Krzysztof Kowalczyk
<[EMAIL PROTECTED]> wrote:

> On Wed,  6 Oct 2004 01:40:16 -0000, Wilson, Mike E.
> <[EMAIL PROTECTED]> wrote:
>> It is obvious that the new Elipse Development IDE for Palm supports the
>> C or C++ language. My question is why is there so little support for
>> programming applications in C ++ and if Palm support programming in
>> this language why are there no foundation classes or development
>> examples, books, etc.?
>>
>> My limited understanding is C ++ would be more efficent than C, require
>> less code, be easier to follow and understand. Someone please expand on
>> this for me.
>
> Your limited understanding isn't entirely correct. C++ is C with added
> features. Application written in C++, as compared to C, have more or
> less equivalent efficiency and whether they require less code or are
> easier to follow and understand depends much more on how well you can
> program than on which language you're using.

I adamantly diagree! C++ is not C with added features. It`s more complex
language with more power and more extencive resources use than C.
Main limitation of C++ for palm is extesive memory usage by some language
mechanismes such as exception handling and placing VTBL into global data
space limited by single 64K section size. Single data segment is not palm
limitation.

While there are some C++ features which must be used with care, C++ is a better C with a good set of extra, optional capabilities.


I'd strongly recommend the use of C++ on Palm OS in most circumstances.


Roger Stringer Marietta Systems, Inc. (www.rf-tp.com)


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to