by raxxorraxor · 3y ago · 0 comments
Still, I have rarely seen C++ compilers for embedded systems. Although the latter definition more and more includes PC hardware.
What kind of embedded systems? Even AVR has a C++ compiler.
Yes, AVR has a C++ compiler, but I could imagine it doesn't support all language features. If it does it would still be discouraged to use dynamic memory allocation, which is pretty essential to leverage many advantages of object orientated languages.
Of course embedded systems aren't restricted to that anymore and you are perfectly fine to use C++ for the average ARM system that isn't as restricted memory wise.