Re: which object orient language is most suitable for embedded programming?
- From: "Steve at fivetrees" <steve@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Nov 2006 19:31:03 -0000
"David Brown" <david@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4566a258$0$8082$8404b019@xxxxxxxxxxxxxxxxxx
Two features of C++ can produce a lot of overhead in C++ programs,
especially for small systems - exceptions and RTTI. If you can disable
them in the compiler (and C++ compilers I have seen let you do that), then
the C++ compiler should generate pretty much identical code for a C
function compiled as either C or C++. In other words, no overhead.
I've long thought that "exceptions" should have been called "nappies" ;).
More seriously, exceptions seem to have been introduced because programmers
were traditionally so poor at dealing with error conditions. Adding
"nappies" is perhaps understandable in such circumstances, but a better
solution would have been more rigorous housetraining ;).
Steve
http://www.fivetrees.com
.
- References:
- which object orient language is most suitable for embedded programming?
- From: ***
- Re: which object orient language is most suitable for embedded programming?
- From: Tim Wescott
- Re: which object orient language is most suitable for embedded programming?
- From: Donald
- Re: which object orient language is most suitable for embedded programming?
- From: Vladimir Vassilevsky
- Re: which object orient language is most suitable for embedded programming?
- From: David Brown
- which object orient language is most suitable for embedded programming?
- Prev by Date: Re: which object orient language is most suitable for embedded programming?
- Next by Date: Re: which object orient language is most suitable for embedded programming?
- Previous by thread: Re: which object orient language is most suitable for embedded programming?
- Next by thread: Re: which object orient language is most suitable for embedded programming?
- Index(es):