...@hotmail.com]
Sent: Monday, January 19, 2009 7:11 AM
To: Palm Developer Forum
Subject: RE: C vs C++
Dimitry,
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
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: d...@rudedog.org To: palm-dev-forum@news.palmos.com Subject: Re: C vs
C++ Date: Mon, 19 Jan 2009 08:50:36 -0800 On Jan 19
@news.palmos.com Subject: Re: C vs C++ if off the top of
your head you cannot tell me in what segment vtables are stored in, do not
use C++ on Palm - you're not ready for it; if you can tell me where they are
stored, then you should already know why not to use it for Palm.
Best Regards
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
Are there any arguments against using C++ for Palm apps when compared
to C?
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
if off the top of your head you cannot tell me in what segment vtables
are stored in, do not use C++ on Palm - you're not ready for it; if
you can tell me where they are stored, then you should already know
why not to use it for Palm.
Best Regards,
Dmitry Grinberg
(847) 226 9295
On Fri,
And if C++ is not exotic enough for you, you can always try your hand at
C##, and the utter lunacy of JIT compilation.
-Original Message-
From: Dmitry Grinberg [mailto:dmitr...@gmail.com]
Sent: 16 January 2009 19:30
To: Palm Developer Forum
Subject: Re: C vs C++
if off the top of your
the fly by the seat of the pants methodology that I taught
myself in the mid-80s, this workstation mentality should be left on the
workstations and the halls of academia.
As for C vs C++ on Palm.. I like the pure C approach for Palm.. it reminds
me that I am working on a small, embedded device
In my experience (both on the Palm and in the embedded systems world) it's
certainly possible to use C++ and stay almost as efficient as pure C,
while gaining a lot of the advantages that C++ provides.
I'd suggest approaching it as an embedded system (i.e. firmware) as
opposed to a desktop
Kevin O'Keefe wrote:
You guys seem to have missed one of the biggest reasons to question the use
of inheritance on the Palm OS, and this is because the vtables required to
implement inheritance are implemented as global variables and, as such, are
not available under some launch conditions.
1. C++ app takes more memory
Only if you use inheritance. Inheritance requires vtables which can take up
some memory. All depends on how many classes and virtual methods you have.
Inheritance in itself does not require more memory !
Only virtual methods require vtables and so take more memory
I know that
1. C++ app takes more memory
2 .C++ app is slow on palm
Hmmm.. Enough said?
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
I have to port a big app from VC++ to Palm OS.
The application is a mapping app with lots of map data,routing and so
on
I am at a juncture where i have to decide between c and c++.
If u can give me any link/document/description comparing c and c++ i
shall be
very gratefull to u.
I know that
Thanks for all of u for giving u'r valuable suggestions
If you have Code Warrior ver 6.0 you can do a simple benchmark. Create 2
projects one in C and another in C++ using a new Palm OS 3.5
Stationery.
Compile and see the sizes of it a C++ dummy app will take 2817bytes
and a C app will take
hi,
could you please elaborate more on the problem with virtual functions and
the initialization of global variables? it seems that i'm having the same
trouble.
Stormgate Communications [EMAIL PROTECTED] wrote:
In my experience (both on the Palm and in the embedded systems world)
it's
Michael Nyrup wrote in message [EMAIL PROTECTED]...
Hi
I´am sorry but I don´t quite understand this, I hope you would care to help
me understand it, as I use objects in my code as often as possible.
Less common situation, but also possible: if object A is
used where object B required, and
Some more tips -- avoid implicit construction.
If you pass an object (instead of a reference or a pointer)
to a function, then a temporary duplicate of the original object
will be constructed and used in the routine.
Also, if your function returns an object, you'll be be
constructing a temporary
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 -, Wilson, Mike E.
[EMAIL PROTECTED] wrote:
It is obvious that the new Elipse
Scalability needed? On a Palm OS device?
Yes. On Palm.
Scalable in context of one or several dependent projects.
I work with linguistic applications with support of tens languages and
range of features combined with one single project. Each application has
support of number languages and optional
Krzysztof Kowalczyk wrote:
The point is moot anyway. C is well documented, well supported and
good enough to write high-quality applications for Palm. Those are the
limitation of Palm OS platform. Accept them, move on and start
cranking your code in C. C++ by itself won't save you.
I don't
On Tue, 5 Oct 2004 19:23:48 -0700, Krzysztof Kowalczyk
[EMAIL PROTECTED] wrote:
On Wed, 6 Oct 2004 01:40:16 -, 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
Alexey Tikhvinsky [EMAIL PROTECTED] writes:
And it`s more effective than C, especialy if scalable solution is
needed.
Scalability needed? On a Palm OS device?
Confused,
Jan
--
Jan Exner · [EMAIL PROTECTED] · 0x9E0D3E98 · http://www.jan-exner.de/
Neues aus Frankreich und England
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,
On Wed, 6 Oct 2004 01:40:16 -, 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
Subject: Re: Using C vs C++ to develop apps
From: Roel Wijmans [EMAIL PROTECTED]
Date: Wed, 21 Jul 2004 05:37:28 -
I can see some of the issues with C++ but i still would like to hear other
developer's opinion on the topic. As i'm not a hugely technical person as
i'm just starting out, some
Roel Wijmans wrote:
I can see some of the issues with C++ but i still would like to hear other developer's
opinion on the topic. As i'm not a hugely technical person as i'm just starting out,
some of the topics in the FAQ articles don't mean much to me
From those articles it seems C is still
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roel
Wijmans
Sent: Wednesday, July 21, 2004 12:37 AM
To: Palm Developer Forum
Subject: Re: Using C vs C++ to develop apps
I appreciate your reply Keith,
I can see some of the issues with C++ but i still
Thanks to all who replied..
I appreciate it.. I know is a topic that's been asked many times and i appreciate your
time and explainations...
My first question to this forum and its been very helpful.
R
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
I appreciate your reply Keith,
I can see some of the issues with C++ but i still would like to hear other developer's
opinion on the topic. As i'm not a hugely technical person as i'm just starting out,
some of the topics in the FAQ articles don't mean much to me
From those articles it seems C
This has probably been asked a million times before, but since i can't find much info
on this topic, i would appreciate peoples opinion on using ANSI C vs C++.
I'm using ANSI C at the moment for my apps, but am noticing a lot of references to C++
and Palm OS development. So what is the best way
At 1:38 AM + 7/20/04, Roel Wijmans wrote:
This has probably been asked a million times before, but since i
can't find much info on this topic, i would appreciate peoples
opinion on using ANSI C vs C++.
I'm using ANSI C at the moment for my apps, but am noticing a lot of
references to C
Thanks
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark
Chauvin
Sent: Tuesday, May 11, 2004 6:49 PM
To: Palm Developer Forum
Subject: Re: c Vs C++
I'm in the process of rewriting my app from C to C++
using Palm Object Library (POL) that ships
Hi All,
Can any body please help me by telling what should be the choice when a
developing a palm applicaiton
c or c++?
gds,
ritu
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I'm in the process of rewriting my app from C to C++
using Palm Object Library (POL) that ships with
Codewarrior. It's alot easier, I'll tell you that.
What takes a page of code in C is about 3 lines in
POL. I haven't noticed any difference in performance
yet, except for one: updating a grid
hi,
could you please elaborate more on the problem with virtual functions and
the initialization of global variables? it seems that i'm having the same
trouble.
Stormgate Communications [EMAIL PROTECTED] wrote:
In my experience (both on the Palm and in the embedded systems world)
it's
on 4/10/00 21:40, Steve Sabram at [EMAIL PROTECTED] wrote:
So true. I have been involved with two ports of C++ code to the PalmOS
where this exact problem (implicit construction) was causing
stack crashes all the time. When one project was complete, I ended up
writing a report that stated
"punkraver" [EMAIL PROTECTED] wrote:
could you please elaborate more on the problem with virtual functions and
the initialization of global variables? it seems that i'm having the same
trouble.
(This is from hazy memory, so someone correct me if I get something wrong)
The way that virtual
Some more tips -- avoid implicit construction.
If you pass an object (instead of a reference or a pointer)
to a function, then a temporary duplicate of the original object
will be constructed and used in the routine.
Also, if your function returns an object, you'll be be
constructing a
So true. I have been involved with two ports of C++ code to the PalmOS
where this exact problem (implicit construction) was causing
stack crashes all the time. When one project was complete, I ended up
writing a report that stated that porting the code to the
PalmOS took longer than if we wrote
Hi
I´am sorry but I don´t quite understand this, I hope you would care to help
me understand it, as I use objects in my code as often as possible.
Less common situation, but also possible: if object A is
used where object B required, and there is a constructor
for B that takes an A as a
Michael Nyrup wrote in message 26244@palm-dev-forum...
Hi
I´am sorry but I don´t quite understand this, I hope you would care to help
me understand it, as I use objects in my code as often as possible.
Less common situation, but also possible: if object A is
used where object B required,
To: Palm Developer Forum
Subject:Re: C vs. C++
From: "Steve Sabram" [EMAIL PROTECTED]
Next time I ever find myself around an academic Computer Science type,
I'd
love to see his response to, "So what is the Cost of Implementation of
all
this blue sky you are promotin
Hi!
I'll second this recommendation. I have heard this approach been called "Objectless
C++" or "next generation C". My two years of
project development on the PalmOS has been a trend from object implementation to
only using object design. Things like templates,
v-tables and virtual
In my experience (both on the Palm and in the embedded systems world) it's
certainly possible to use C++ and stay almost as efficient as pure C,
while gaining a lot of the advantages that C++ provides.
I'd suggest approaching it as an embedded system (i.e. firmware) as
opposed to a desktop
Do you guys use C or C++ when coding Palm apps? The API seems C oriented -
so I'm wondering if there's any real reason to use C++?
--
Jacob Laursen ([EMAIL PROTECTED])
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
From: Laursen,Jacob Lykkeberg XJT [mailto:[EMAIL PROTECTED]]
Do you guys use C or C++ when coding Palm apps? The API seems C oriented -
so I'm wondering if there's any real reason to use C++?
I very strongly recommend at least using the C++ compiler instead of the C
compiler. Take advantage
"Scott Johnson (Bellevue)" wrote:
From: Laursen,Jacob Lykkeberg XJT [mailto:[EMAIL PROTECTED]]
Do you guys use C or C++ when coding Palm apps? The API seems C oriented -
so I'm wondering if there's any real reason to use C++?
I very strongly recommend at least using the C++ compiler
ore being cancelled. While I'm not
proposing the "fly by the seat of the pants" methodology that I taught
myself in the mid-80s, this workstation mentality should be left on the
workstations and the halls of academia.
As for C vs C++ on Palm.. I like the pure C approach for Palm.. it reminds
m
ngineering
-Original Message-
From: Martens, Eric A. [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 11, 2000 23:31
To: Palm Developer Forum
Subject: Symbol SDK: C vs C++
I tried adding scanner functions to my code and the linker
choked. I played
around with the sample apps an
I tried adding scanner functions to my code and the linker
choked. I played
around with the sample apps and it seems to be that enabling the C++
compiler causes this behavior. Does anyone have any
suggestions as to what
I could try to do to use the scanner functions in a C++ project?
Martens, Eric A. would like to recall the message, "Symbol SDK: C vs C++".
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
I tried adding scanner functions to my code and the linker choked. I played
around with the sample apps and it seems to be that enabling the C++
compiler causes this behavior. Does anyone have any suggestions as to what
I could try to do to use the scanner functions in a C++ project?
Thanks,
I tried adding scanner functions to my code and the linker choked. I played
around with the sample apps and it seems to be that enabling the C++
compiler causes this behavior. Does anyone have any suggestions as to what
I could try to do to use the scanner functions in a C++ project?
Thanks,
Martens, Eric A. would like to recall the message, "Symbol SDK: C vs. C++".
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
From: "Martens, Eric A." [EMAIL PROTECTED]
Subject: Recall: Symbol SDK: C vs C++
Martens, Eric A. would like to recall the message, "Symbol SDK: C vs
C++".
Are they fond memories for you? [ Sorry, I couldn't help myself! ;) ]
--
For information on using the P
Dear srinivas,
I just read your Mail (dated 7/5/00) and i hope U can answer my
question.
How can I create a pdb file using VC++.
Waiting for reply.
Bye.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
ot; may make it more work than its worth.
Kevin
-Original Message-
From: Mr. Somnath Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 10:35 PM
To: Palm Developer Forum
Subject: Re: C Vs C++
Dear srinivas,
I just read your Mail (dated 7/5/00) and i hope U can answer
Kevin O'Keefe wrote:
You guys seem to have missed one of the biggest reasons to question the use
of inheritance on the Palm OS, and this is because the vtables required to
implement inheritance are implemented as global variables and, as such, are
not available under some launch conditions.
1. C++ app takes more memory
Only if you use inheritance. Inheritance requires vtables which can take up
some memory. All depends on how many classes and virtual methods you have.
Inheritance in itself does not require more memory !
Only virtual methods require vtables and so take more memory
At 11:55 AM 7/5/00 +0200, Eric Vergnaud wrote:
I think that the most important thing to consider is: do you need C++ ? That
is, do you need inheritance ?
Inheritance is not the only feature of C++. It may even be the most abused
one. There are other reasons why you might use C++ such as
Thanks for all of u for giving u'r valuable suggestions
If you have Code Warrior ver 6.0 you can do a simple benchmark. Create 2
projects one in C and another in C++ using a new "Palm OS 3.5
Stationery".
Compile and see the sizes of it a C++ dummy app will take 2817bytes
and a C app will take
n
-- Palm OS Emulator engineer
Anne Srinivas [EMAIL PROTECTED] on 07/06/2000 03:22:26 AM
Please respond to "Palm Developer Forum" [EMAIL PROTECTED]
Sent by: Anne Srinivas [EMAIL PROTECTED]
To: "Palm Developer Forum" [EMAIL PROTECTED]
cc:(Keith Rollin/US/PALM)
Subject:
I have to port a big app from VC++ to Palm OS.
The application is a mapping app with lots of map data,routing and so
on
I am at a juncture where i have to decide between c and c++.
If u can give me any link/document/description comparing c and c++ i
shall be
very gratefull to u.
I know that
On Wed, Jul 05, 2000 at 02:16:07PM +0530, Anne Srinivas wrote:
I have to port a big app from VC++ to Palm OS.
The application is a mapping app with lots of map data,routing and so
on
I am at a juncture where i have to decide between c and c++.
If u can give me any
://www.aportis.com
eMail: [EMAIL PROTECTED]
Work: +91-040-3712235
- Original Message -
From: Tom Zerucha [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wednesday, July 05, 2000 2:34 PM
Subject: Re: C Vs C++
On Wed, Jul 05, 2000 at 02:16:07PM +0530, Anne Srinivas wrote:
I have
le 5/07/00 11:04, Tom Zerucha à [EMAIL PROTECTED] a écrit :
On Wed, Jul 05, 2000 at 02:16:07PM +0530, Anne Srinivas wrote:
I have to port a big app from VC++ to Palm OS.
The application is a mapping app with lots of map data,routing and so
on
I am at a juncture where i have to decide
I know that
1. C++ app takes more memory
2 .C++ app is slow on palm
Hmmm.. Enough said?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
I know that
1. C++ app takes more memory
2 .C++ app is slow on palm
Hmmm.. Enough said?
Not really, since neither statement is necessarily true.
-- Keith
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
on 5/07/00 14:19, HowY at [EMAIL PROTECTED] wrote:
I know that
1. C++ app takes more memory
2 .C++ app is slow on palm
Hmmm.. Enough said?
1. false (mostly).
2. false.
To develop: there are some things in C++ which take more memory, like
vtables when using virtual methods. But then,
PROTECTED]]
Sent: Wednesday, July 05, 2000 2:23 PM
To: Palm Developer Forum
Subject: Re: C Vs C++
I know that
1. C++ app takes more memory
2 .C++ app is slow on palm
Hmmm.. Enough said?
Not really, since neither statement is necessarily true.
-- Keith
--
For information on using
70 matches
Mail list logo