Real-Time/Embedded issues
Temporaries can cause memory fragmentation
Some care has to be taken to make an object ROMmable.
WRS estimates that only ~5% of projects implemented with VxWorks use C++
- C++ use heavy in telecommunications and banking
C++ programs tend to use more stack and dynamic memory
- Many devices will be <əMB for years to come
Embedded C++ subset has been defined:
- http://www.dinkumware.com/embed9710.html
- No templates, exceptions, multiple inheritance, RTTI
- simple library
- Much like C++ circa 1990
Smart pointers/arrays can greatly reduce incidence of memory leaks and problems