Build using D

ted spam at spam.spam
Thu Apr 30 05:20:28 UTC 2020



On 30/4/20 2:39 am, H. S. Teoh wrote:
> On Fri, Apr 17, 2020 at 08:24:06AM +0000, Guillaume Piolat via Digitalmars-d wrote:
> [...]
>> A declarative build description trades being power for being
>> conventional and deriving rules that works on every project (through
>> "lack of power").
> 
> IMNSHO, this is a flawed argument.  The basics of a build system is a
> directed acyclic graph, with build sources, any intermediate targets,
> and targets represented by the nodes, and derivation rules represented
> by the edges. This model works for every project, but does not trade for
> any "lack of power".
> 
<snip>

> 
> It's about time the same thing happened in the build system world.
> Something that tackles the underlying DAG directly, and provides modern
> guarantees like 100% build reproducibility, ability to handle any task
> that fits into the DAG structure,[1] not just some canned operations
> like "derive executable from C++ sources", and build times proportional
> to the size of change rather than the size of the entire workspace.
> 
<snip>


I agree 100% - which is the exact approach taken by 
https://github.com/GrahamStJack/bottom-up-build

--ted


More information about the Digitalmars-d mailing list