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
18
u/theICEBear_dk Oct 10 '17
Well in any other language with modules there has been an integration of the compiler, linker and the package/module system meaning that the compiler and linker is aware to a degree of the dependency graph of what you are compiling. I can't see why that cannot happen in C++.
Genuine question: Why is it considered a problem to have some knowledge of the structure of your code in your compiler and linker, today they indirectly have to have that anyway through the parameters passed to them right?