Study: build times for D programs

Rainer Schuetze r.sagitario at gmx.de
Wed Jul 25 13:53:08 PDT 2012



On 25.07.2012 19:24, Walter Bright wrote:
> On 7/25/2012 8:13 AM, Andrei Alexandrescu wrote:
>> Yes, and both debug and release build times are important.
>
> Optimized build time comparisons are less relevant - are you really
> willing to trade off faster optimization times for less optimization?
>
> I think it's more the time of the edit-compile-debug loop, which would
> be the unoptimized build times.
>
>

The "edit-compile-debug loop" is a use case where the D module system 
does not shine so well. Compare build times when only editing a single 
source file:
With the help of incremental linking, building a large C++ project only 
takes seconds.
In contrast, the D project usually recompiles everything from scratch 
with every little change.


More information about the Digitalmars-d mailing list