News for hackers. Stuff that matters.
Re:C++17 constexpr everything, or as much as the compiler can by DamonHD on Thursday December 28, 2017 @11:10AM (#16022827)
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.

Re:C++17 constexpr everything, or as much as the compiler can by jotux on Thursday December 28, 2017 @12:28PM (#16023389)
In 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.
Re:C++17 constexpr everything, or as much as the compiler can by contrarian_ on Thursday December 28, 2017 @06:51PM (#16026210)
On 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.