Myths
An overview of myths and prejudices about C++ in embedded programming and what are the reasons behind them.
We'll cover the following...
As I started working in an embedded environment, I was astonished that there was so much prejudice against the usage of C++ in embedded programming. Most of them are based on the wrong understanding of the C++ programming language.
Some Common Myths
- Templates cause code bloat
- Objects have to be created on the heap
- Exceptions are expensive
- C++ is slow and needs too much memory
- C++ is too dangerous in safety-critical systems
- You must write object-oriented code in C++
- C++ can only be used for
Access this course and 1400+ top-rated courses and projects.