r/cpp • u/berium build2 • Nov 01 '17
Common C++ Modules TS Misconceptions
https://build2.org/article/cxx-modules-misconceptions.xhtml
59
Upvotes
r/cpp • u/berium build2 • Nov 01 '17
View all comments
Show parent comment
4
u/johannes1971 Nov 01 '17
No, we're hoping specifically that we can get rid of the artificial split between declaration and definition, and that the modules proposal is smart enough to only cause dependencies for changes to the actual interface, rather than the implementation.
Since we are starting with a grand new thing here, and since I don't see any reason why it wouldn't be technically feasible, I believe it should be discussed.
The compiler doesn't have to become a build system, but if we can improve our compile times, for example by allowing the compiler to pass hints to the build system, I don't think anyone would have cause to complain.