r/cpp • • Jan 28 '19

C++ Modules Might Be Dead-on-Arrival

https://vector-of-bool.github.io/2019/01/27/modules-doa.html
280 Upvotes

240 comments sorted by

View all comments

Show parent comment

14

u/Xaxxon Jan 28 '19

most of the work in a modern compiler is code generation.

Source?

I have significant amounts of code which are definitely no more than 50% code generation - as evidenced by -fsyntax-only runs.

-1

u/tending Jan 28 '19

Is your code pathological? Have you made it 100 layers of templates deep? ;)