D compilation speed vs. go

Robert Clipsham robert at octarineparrot.com
Sun Apr 11 11:33:19 PDT 2010


On 11/04/10 19:15, bearophile wrote:
> Robert Clipsham:
>
>> It's no way near as fast as DM, but what do you expect, it has initialize the LLVM backend on each invocation.<
>
> Thank you for your timings.
> When LDC has to compile many files (for example with xfbuild) can the LLVM back-end be kept running, to avoid some of those statup delays? (If this is not easy to do now, Chris Lattner can probably be willing to improve LLVM to help LDC devs, he is gentle when you ask him doable improvements).
>
> Bye,
> bearophile

What I meant was the tango build system compiles one file at a time, so 
each time ldc is started up it has to reinitialize llvm. I wonder how 
the timings for ldc and dmd would change if all the files were passed at 
once...



More information about the Digitalmars-d mailing list