* advice on development path
@ 2000-06-11 9:12 Erik Smith
0 siblings, 0 replies; 2+ messages in thread
From: Erik Smith @ 2000-06-11 9:12 UTC (permalink / raw)
To: gcc
I've been trying to adapt my C++ project from NT to g++ on linux and in the
process discovering many things about the state of C++ compilers and about
the cost of the language in general. I am at the beginning of a large
development effort and I have two choices in front of me: C or C++. The
project requires building a server application where performance is
critical. The main problem I'm having with g++ is the much larger code
size incurred with exceptions (I haven't found a way around this yet) Here
are the rest of the pros and cons around each choice as I see it:
C Pros
- virtually bug free compilers everywhere
- small code size achieved with relative ease
C Cons
- more difficult to read and work with when you're used to C++
- no exception handling to simplify error management.
C++ Pros
- abstractions can help accelerate development (most useful to me are
encapsulation, templates, and STL)
- exceptions can help simplify interfaces and error handling
C++ Cons
- it can be difficult to write completely exception safe classes (see the
book Exceptional C++)
- g++ and other compilers have trouble generating compact code
- harder to find programmers with sufficient C++ experience
- inevitably get drawn into some compiler conformance issue or bug
I would appreciate any experienced opinions on what other people use for
mission critical projects. Also, does anyone have any experience with KAI
(I'm a bit leery of relying on them since they were acquired)
erik
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: advice on development path
@ 2000-06-12 14:46 Mike Stump
0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2000-06-12 14:46 UTC (permalink / raw)
To: ersmith, gcc
Use C++, also, your message is seriously off topic.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-06-12 14:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-11 9:12 advice on development path Erik Smith
2000-06-12 14:46 Mike Stump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).