digitalmars.D.bugs - [Issue 14654] New: rdmd should compile package at a time
- via Digitalmars-d-bugs (26/26) Jun 05 2015 https://issues.dlang.org/show_bug.cgi?id=14654
https://issues.dlang.org/show_bug.cgi?id=14654 Issue ID: 14654 Summary: rdmd should compile package at a time Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: andrei erdani.com rdmd builds the given file and all of its dependents in one shot. For large projects, this becomes problematic because of many files are built unnecessarily if one file is touched. One emerging pattern is to build one package (= directory) at a time, Haskell/Rust style. That allows users to organize dependencies in a scalable manner. rdmd would collect the dependency graph, "color" the files have been affected by the changed files since last build, and then carve the entire file set by directory. If at least one file has been colored in a directory, that directory needs to be rebuilt. This is a high impact project because it would instantly improve the lot of all rdmd users, and scales rdmd up for larger builds. --
Jun 05 2015