Freddie Chopin a écrit :
> Why everyone sees only the bad sides of C++ and completely forgets the 
> good ones? Templates? Stronger compilation-time-error-checks? Easier 
> error handling? Easier abstraction? Easier polymorphism? Easier - well - 
> everything?
>
>   
I will never use C++ in my embedded projects until the cost of memory is 
almost zero..
Joke aside, I can't see how C++ can be better than C in an embedded system.

We had someone at work who wanted to try C and after some studies we 
realized that it would have priced us out of competition.
When you complain that the optimization is not as good as you would like 
it you do not double or triple the size of your code by purpose.

Whenever you have bloated code you will slow the system down on top of 
forcing the use of device with more memory. On some processors its not 
even an option.
This results in added thousands of dollars to a contract, lowering the 
odds of keeping a contract and a job.

Michel.


-- 
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://home.comcast.net/~mcatudal

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to