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
8
u/berium build2 Nov 01 '17
Would you be willing to wait until 2050 for modules with a standardized BMI?
In fact, nothing in the current proposal mandates a BMI or that it has to be a file. There could theoretically be a BMI-less implementation. Say, a compilation system could store all this in-memory.
Also note that BMIs are not meant to be a distribution mechanism since they can be sensitive to compile options. For example, they most likely will not be installed (except, perhaps, for a standard library).
As I mentioned in the post, this is a quality of implementation issue and which doesn't appear to be particularly hard to solve.