4 ms·
A few years ago I wrote an article entitle "Should you use C++ for an embedded project": http://blog.brush.co.nz/2011/01/cpp-embedded/ http://blog.brush.co.nz/2
by benhoyt 10y ago
A few years ago I wrote an article entitle "Should you use C++ for an embedded project": http://blog.brush.co.nz/2011/01/cpp-embedded/ http://blog.brush.co.nz/2011/01/cpp-embedded/ -- however, my embedded experience is mostly on very small micros, like less than 256KB flash and 64KB RAM. In those cases, I'd still very much lean towards the explicitness and simplicity of C. For less resource-constrained systems, C++ would be reasonable.
- pvaibhav2 10y agoI regularly write C++14 on cortex-m0 with 4 to 16KB RAM.