RE: C vs C++

2009-03-11 Thread Steven
...@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

RE: C vs C++

2009-01-23 Thread luis maldonado
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

RE: C vs C++

2009-01-19 Thread luis maldonado
@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

Re: C vs C++

2009-01-19 Thread Dave Carrigan
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

C vs C++

2009-01-16 Thread Kent Loobey
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/

Re: C vs C++

2009-01-16 Thread Dmitry Grinberg
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,

RE: C vs C++

2009-01-16 Thread Philip Sheard
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

Re: C vs. C++

2008-05-29 Thread Bradly J. Barton
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

Re: C vs. C++

2008-05-29 Thread Stormgate Communications
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

Re: C Vs C++

2008-05-29 Thread Adam Wozniak
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.

Re: C Vs C++

2008-05-29 Thread Yegor Bryukhov
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

Re: C Vs C++

2008-05-29 Thread HowY
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/

C Vs C++

2008-05-29 Thread Anne Srinivas
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

Re: C Vs C++

2008-05-29 Thread Anne Srinivas
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

Re: C vs. C++

2008-05-28 Thread punkraver
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

Re: C vs. C++

2008-05-28 Thread Richard Hartman
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

Re: C vs. C++

2008-05-28 Thread Richard Hartman
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

Re: C vs C++

2004-10-07 Thread Roger Stringer
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

Re: C vs C++

2004-10-07 Thread Alexey Tikhvinsky
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

Re: C vs C++

2004-10-06 Thread Laurens
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

Re: C vs C++

2004-10-06 Thread Alexey Tikhvinsky
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

Re: C vs C++

2004-10-06 Thread Jan Exner
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

C vs C++

2004-10-05 Thread Wilson, Mike E.
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,

Re: C vs C++

2004-10-05 Thread Krzysztof Kowalczyk
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

Re: Using C vs C++ to develop apps

2004-07-21 Thread Roger Stringer
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

Re: Using C vs C++ to develop apps

2004-07-21 Thread Laurens
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

RE: Using C vs C++ to develop apps

2004-07-21 Thread Eric Cloninger
-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

RE: Using C vs C++ to develop apps

2004-07-21 Thread Roel Wijmans
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

Re: Using C vs C++ to develop apps

2004-07-20 Thread Roel Wijmans
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

Using C vs C++ to develop apps

2004-07-19 Thread Roel Wijmans
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

Re: Using C vs C++ to develop apps

2004-07-19 Thread Keith Rollin
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

RE: c Vs C++

2004-05-11 Thread Ritu Chawla
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

c Vs C++

2004-05-11 Thread Ritu Chawla
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/

Re: c Vs C++

2004-05-11 Thread Mark Chauvin
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

Re: C vs. C++

2000-10-14 Thread punkraver
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

Re: C vs. C++

2000-10-13 Thread Florent Pillet
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

Re: C vs. C++

2000-10-13 Thread Stormgate Communications
"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

Re: C vs. C++

2000-10-04 Thread Richard Hartman
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

Re: C vs. C++

2000-10-04 Thread Steve Sabram
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

Re: C vs. C++

2000-10-04 Thread Michael Nyrup
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

Re: C vs. C++

2000-10-04 Thread Richard Hartman
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,

RE: C vs. C++

2000-10-03 Thread Robert Cohen
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

Re: C vs. C++

2000-10-03 Thread Tilo Christ
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

Re: C vs. C++

2000-10-03 Thread Stormgate Communications
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

C vs. C++

2000-10-02 Thread Laursen,Jacob Lykkeberg XJT
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

RE: C vs. C++

2000-10-02 Thread Scott Johnson (Bellevue)
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

Re: C vs. C++

2000-10-02 Thread Steve Sabram
"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

Re: C vs. C++

2000-10-02 Thread Bradly J. Barton
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

RE: Symbol SDK: C vs C++

2000-08-14 Thread Rob Mermans
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

RE: Symbol SDK: C vs. C++

2000-08-14 Thread Heather Tufts
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?

Recall: Symbol SDK: C vs C++

2000-08-11 Thread Martens, Eric A.
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/

Symbol SDK: C vs. C++

2000-08-11 Thread Martens, Eric A.
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,

Symbol SDK: C vs C++

2000-08-11 Thread Martens, Eric A.
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,

Recall: Symbol SDK: C vs. C++

2000-08-11 Thread Martens, Eric A.
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/

Re: Recall: Symbol SDK: C vs C++

2000-08-11 Thread Richard Burmeister
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

Re: C Vs C++

2000-08-01 Thread Mr. Somnath Kulkarni
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/

RE: C Vs C++

2000-08-01 Thread Kevin O'Keefe
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

Re: C Vs C++

2000-08-01 Thread Adam Wozniak
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.

Re: C Vs C++

2000-07-06 Thread Yegor Bryukhov
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

Re: C Vs C++

2000-07-06 Thread Jason Dawes
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

Re: C Vs C++

2000-07-06 Thread Anne Srinivas
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

Re: C Vs C++

2000-07-06 Thread krollin
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:

C Vs C++

2000-07-05 Thread Anne Srinivas
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

Re: C Vs C++

2000-07-05 Thread Tom Zerucha
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

Re: C Vs C++

2000-07-05 Thread Prasad
://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

Re: C Vs C++

2000-07-05 Thread Eric VERGNAUD
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

Re: C Vs C++

2000-07-05 Thread HowY
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/

Re: C Vs C++

2000-07-05 Thread krollin
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

Re: C Vs C++

2000-07-05 Thread Florent Pillet
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,

RE: C Vs C++

2000-07-05 Thread Fitzpatrick, Joe
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