On Wednesday, 21 November 2018 at 08:07:52 UTC, Vladimir
Panteleev wrote:
https://blog.thecybershadow.net/2018/11/18/d-compilation-is-too-slow-and-i-am-forking-the-compiler/
You might want to have a brush up on which direction C++ modules
are heading in. Notable talks would be those given at the GNU
Cauldron for both 2017 and 2018. The general run-down as I
understand it.
===
Problem to solve: Compiler asks an Oracle about module A.
Phrased this way, Compiler is a client, Oracle is a server.
Oracle could be a file, socket, remote server, anything that can
be read from or written to.
Communication can be done via a standard format (such as json).
This means that the Oracle (the implementation of) that keeps
track of compilation and dependencies of the build is now someone
else's problem as far as the Compiler is concerned.
===
I think what you've already started would fit well into this.
Iain.