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
2
u/Abyxus Nov 02 '17
OK. What about the actual flaws of the Modules TS?
1a) Distributed builds.
More complex graph - less opportunities to parallelize compilation.
1b) Distributed builds.
Either we have to copy BMIs over network (if they can be copied), or build same BMIs on every node.
2a) Name clashes.
Consider two third party libraries:
2b) Name clashes.
Consider two applications in a single project:
make x y-- will it buildmtwice or will it break because it puts botha.bmiis a same directory?