Compilation times and idiomatic D code
Atila Neves via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 6 06:32:04 PDT 2017
On Thursday, 6 July 2017 at 12:00:29 UTC, Jacob Carlborg wrote:
> On 2017-07-05 22:12, H. S. Teoh via Digitalmars-d wrote:
>> [...]
>
> It's not UFCS per say that causes the problem. If you're using
> the traditional calling syntax it would generate the same
> symbols.
>
>> [...]
>
> Yeah, it's usually all these D specific compile time features
> that is slowing down compilation.
>
> DWT and Tango are two good examples of large code bases where
> very few of these features are used, they're written in a more
> traditional style. They're at least 200k lines of code each
> and, IIRC, takes around 10 seconds (or less) to compile, for a
> full build.
IIRC building Tango per package instead of all-at-once got the
build time down to less than a second.
Atila
More information about the Digitalmars-d
mailing list