Hacker News new | ask | show | jobs
by saboot 4007 days ago
I was referencing at compile time, yes. How does Dagger generate the code? Does it run an executable first?

Yes, in C++ there is a similar library called ROOT which generates c++ files called "dictionaries" storing class information by running an executable over the files. I don't see (or understand) the downsides in providing the functionality for performing those steps at compile time though. The developers of ROOT are currently pushing for it to be included in C++17 (or beyond).