3 ms·
You can use c++14 on embedded devices just fine, and people do.
by snarfy 9y ago
You can use c++14 on embedded devices just fine, and people do.
- saagarjha 9y agoYou can, as long as you stay away from templates and lambdas and STL containers; in short, most of the reasons you’d use C++.
- aurelian15 9y agoSTL, RTTI and Exceptions should be avoided on embedded platforms (talking about 8 bit µCs here). I've extensively used both templates and lambdas on 8 bit AVRs (both the Tiny and Mega series); actually, writing templated code for µCs is a great way to avoid overhead stemming from function pointers etc. while still having well maintainable code.