Myths
Understand and debunk prevalent myths about using modern C++ in embedded environments. Learn why many prejudices against C++ stem from outdated knowledge or misunderstandings, and discover how modern C++ features support safety-critical and resource-constrained systems effectively.
We'll cover the following...
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++