RE: C++ Modules

Kenton Wilson <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Message-ID <CO1PR11MB4884F6A320517FA825FF19758855A@CO1PR11MB4884.namprd11.prod.outlook.com>
>Kaz wrote:
> The fundamental problem is that a module system is supposed to make a tool like Make unnecessary!
>

Kaz, thanks for responding and sharing your thoughts / perspective. I also came across this paper which I thought I would share:

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1689r5.html

Absract

When building C++ source code, build tools need to discover dependencies of source files based on their contents. This occurs during the build so that file contents can change without build tools having to reinitialize and so the dependencies of source file generated during the build are correct. With the advent of modules in [P1103R3], there are now ordering requirements among compilation rules. These also need to be discovered during the build. This paper specifies a format for communicating this information to build tools.

--

Kenton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.