6 ms·
As somebody who uses c++ daily and spends a lot of time compiling, I am really excited about modules. Unfortunately, the latest even unreleased g++ v11 and clan
by veselin 6y ago
As somebody who uses c++ daily and spends a lot of time compiling, I am really excited about modules. Unfortunately, the latest even unreleased g++ v11 and clang v8 only say they support them partially. Does anybody have any experience trying them out? Do they work,l and are they ready for production use?
- account4mypc 6y agoi tried to evaluate whether they would help build times at all. this is the only reason i want them. based on some research, they don't if you have parallel builds (since a module must be built before its users/not in parallel). so i think this lessened excitement from users/compiler devs/build tool makers. and it was enough to convince me to just buy more cores to parallelize builds more rather than put in work for half baked modules
- veselin 6y agoThere are already precompiled headers. They are a big speedup as far as I know, but semantically problematic. Maybe if you use them, you will not see a speedup.