3 ms·
I am already a big fan of constexpr-ing everything that doesn't run away or make the compiler cry for our embedded application. Yes, we are building a substant
by DamonHD 9y ago
I am already a big fan of constexpr-ing everything that doesn't run away or make the compiler cry for our embedded application.
Yes, we are building a substantial embedded system with (a constrained subset of; no heap, but some templates for example) C++ 11. Heretical, I understand.
- jotux 9y agoIn the last ~five years I've converted all my embedded software development to C++11, even projects on small microcontrollers (32kb flash, 8kb RAM). There are features I don't use but it's hard to imagine going back to C at this point.
- contrarian_ 9y agoOn the contrary, I've gone back to plain C for most projects and it's been a real relief after using C++11/14 extensively. So much accidental complexity just disappears. The compile times are much better, too. Can't wait to get a Threadripper CPU which should push the build even closer to feeling instant.