02-04-2011, 01:26 AM
C++ is not perfect
* · It does not natively support concurrency
* · Little problem tuning time-critical code, such as interrupt handlers
* · It does not provide a mechanism to deal with to interrupts etc.
* · Lack of good standard library for embedded systems. As STL simply sucks.
* · Its handling of array boundaries is poor
* · Typical C++ code tends to be a bit larger and slower
* · It has no clear, non-implementation dependent mechanism for dealing with
bit-mapped registers (I don't count masking and shifting as clear).
* · C++ over-flexibility, which makes the less experience shoot him in the
foot.
* The added expense is rarely prohibitive (on the order of 10-15%).
* · It does not natively support concurrency
* · Little problem tuning time-critical code, such as interrupt handlers
* · It does not provide a mechanism to deal with to interrupts etc.
* · Lack of good standard library for embedded systems. As STL simply sucks.
* · Its handling of array boundaries is poor
* · Typical C++ code tends to be a bit larger and slower
* · It has no clear, non-implementation dependent mechanism for dealing with
bit-mapped registers (I don't count masking and shifting as clear).
* · C++ over-flexibility, which makes the less experience shoot him in the
foot.
* The added expense is rarely prohibitive (on the order of 10-15%).
