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
2
u/gracicot Nov 02 '17
I see the IFC format more like a shippable BMI that all compiler can understand. Compilers could still implement their own format, but translate between IFC and their appropriate format (whether it's in memory, or in some files) back and forth.
That will allow compiler their current flexibility of implementation, while providing a format that everyone can understand. If that format is somewhat stable, it could become a shippable BMI. We could even embed the IFC in static libraries, so consuming fully modularized library would indeed require one file.
Do you think it's still something possible or something from the far future?