D needs to publicize its speed of compilation

Atila Neves atila.neves at gmail.com
Tue Jan 2 16:00:11 UTC 2018


On Saturday, 30 December 2017 at 01:09:59 UTC, H. S. Teoh wrote:
> On Fri, Dec 29, 2017 at 05:52:36PM -0700, Jonathan M Davis via 
> Digitalmars-d wrote: [...]
>> [...]
> [...]
>
> Yeah... recently I've been resorting to `dmd -unittest -main 
> module.d` on single modules for faster turnaround time, because 
> in spite of D's famed compilation speeds, some things still 
> make it go far too slow, e.g. if you use template-heavy / 
> CTFE-heavy code, or there are just too many files to compile.
>
> [...]

This is pretty interesting. Unfortunately I can see it getting 
messy with multiple dependent modules and/or if the function has 
"real" template parameters on top. I have to think about how to 
use your strategy in my own code.

Atila


More information about the Digitalmars-d mailing list