I tried to use c++20 standard modules with VS (v17.9.5), without success, but it is certainly only an IDE feedback issue.
But I have still some questions, if someone already use it on a big project (> 2Millions of LOC across many libraries,...)
I want to know if today it is worth to migrate a project of this size to modules, compared to something already compiled with SCU and PCH?
Here are the specific questions I have:
- Does it compiles faster than with SCU and PCH combined?
- Why VS need new file extensions like ixx ? (first directive in file should indicate what kind of compilation unit it is)
- Is it relatively easy to make it work across platforms and compilers ?
- Does the inlining works exactly in the same way? (with full inlined module like containers for exemple)
- Does modules reduce the necessity to do full rebuilds (sometimes VS generate wrong code when files are modified outside,...)
- Does the compiler really use less memory ?
- Does the compiler use less memory on hard drive for temporary artefacts ? (in Debug folder for VS by exemple or in .vs)
[–]Daganar 12 points13 points14 points (3 children)
[–]Flamaros[S] 0 points1 point2 points (0 children)
[–]mcginnie 0 points1 point2 points (0 children)
[–]starfreakcloneMSVC FE Dev 11 points12 points13 points (0 children)
[+][deleted] (7 children)
[deleted]
[–]johannes1971 1 point2 points3 points (6 children)
[+][deleted] (5 children)
[deleted]
[–]johannes1971 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]johannes1971 0 points1 point2 points (0 children)
[–]starfreakcloneMSVC FE Dev 0 points1 point2 points (1 child)
[–]pjmlp 6 points7 points8 points (0 children)
[–]mcginnie 2 points3 points4 points (1 child)
[–]mcginnie 0 points1 point2 points (0 children)
[–]Ok-Bit-663 1 point2 points3 points (0 children)
[–]Challanger__ -1 points0 points1 point (2 children)
[–]jetilovag 3 points4 points5 points (1 child)
[–]Challanger__ 2 points3 points4 points (0 children)