▲ | slavik81 3 days ago | |
Your comparison is not apples to apples as you would in practice have a seperation of compilation and linking in your non-modules example. The status quo is more like:
With that said, the the modules command is mostly complex due to the -fmodule-file=Hello=Hello.pcm argument.When modules were being standardized, there was a discussion on whether there should be any sort of implicit mapping between modules and files. This was rejected, so the build system must supply the information about which module is contained in which file. The result is more flexible, but also more complex and maybe less efficient. | ||
▲ | ho_schi 3 days ago | parent [-] | |
Thanks :) |