Better HN
topnewbestaskshowjobs
Log inSign up

kxhost

9 karma · joined Oct 11, 2016 (10y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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