News for hackers. Stuff that matters.
Re:Simplifying build in C++ by desertrider12 on Friday October 20, 2017 @01:21PM (#15517482)
C++ as it exists now is unsuitable, but I can imagine an alternate history where C++ actually allowed arbitrary compile time execution (better than macros and constexpr). Then someone would have made a library for build system logic, and all the user would have to do is g++ project.cpp.
Re:Simplifying build in C++ by fatbob on Friday October 20, 2017 @02:04PM (#15517866)
Herb Sutter has a proposal for metaclasses, which involve running some compile-time C++-like code. I don't think it would stretch to this, but it's heading in your direction.