5 ms·
That is a linker option, not a compiler option. Modules have no effect on linking one way or another as linking is fairly independent of the compilation process
by Kranar 6y ago
That is a linker option, not a compiler option. Modules have no effect on linking one way or another as linking is fairly independent of the compilation process.
- pjmlp 6y agoI mentioned code generation, you don't execute .obj files.
- Kranar 6y agoThen your comment is off-topic and creates confusion. My point was modules inhibit the parallelism of the compilation process, compile times, not that it has any effect on the link times. Modules do not have any effect on the linker one way or another. They are independent of it.
- pjmlp 6y agoModules will bring compiler and linker work more closer, just like other languages not tainted by UNIX toolchain model. Some C++ developers can keep using their pre-historic UNIX like tooling, whereas others will embrace the fusion of compiler, linker and build system.