News for hackers. Stuff that matters.

kxhost

Re:C++17 constexpr everything, or as much as the compiler can on Thursday December 28, 2017 @01:14PM (#16023713)
Code generators at our place are most often written in java (xtext, xtend), rarely in other interpreted languages, almost never in C++. Of course, there are grey areas when the price of using another tool, integrating it into build system(which itself sometimes is non-trivial task, if done properly) has to be carefully considered against obtained pros.
Re:C++17 constexpr everything, or as much as the compiler can on Thursday December 28, 2017 @10:52AM (#16022651)
Embedded engineer here. Care to explain why ? Code generation is widely used, at least in automotive. Comparison of hard-to-read and hard-to-debug advanced template/constexpr machinery vs code generated by standalone tool that is easy to read and easy to debug would not be taken seriously