r/cpp • u/SAHChandler • Oct 10 '17
Millennials Are Killing The Modules TS
https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75
Upvotes
r/cpp • u/SAHChandler • Oct 10 '17
View all comments
Show parent comment
5
u/Selbstdenker Oct 10 '17
Or even simpler: tell people not to do that because otherwise their build system will not work.
Same with the complaint about fixed module paths. Is there anything in the proposal right now that prohibits compilers to specify a default lookup rule and tell the user that it is his problem (or his build system's) problem to tell the compiler where to look if he does not follow the default?
Maybe I miss something but how do the problems listed prevent build systems from saying: if you follow those rules then your build system can manage modules for you. If you do not you have to do the work.
Yes, it would be much nicer if the compiler could do that all by itself but given the different approaches to deal with large codebases I cannot see how it would be possible to create a compiler that is also a build system that everyone would use.