What is the compilation model of D?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Wed Jul 25 01:06:10 PDT 2012


On Wed, 25 Jul 2012 08:54:24 +0100
Russel Winder <russel at winder.org.uk> wrote:

> On Tue, 2012-07-24 at 20:35 -0700, Jonathan M Davis wrote:
> […]
> > I find it shocking that anyone would consider 15 seconds slow to
> > compile for a large program. Yes, D's builds are lightning fast in
> > general, and 15 seconds is probably a longer build, but calling 15
> > seconds "slow-to-compile" just about blows my mind. 15 seconds for
> > a large program is _fast_. If anyone complains about a large
> > program taking 15 seconds to build, then they're just plain spoiled
> > or naive. I've dealt with _Java_ apps which took in the realm of 10
> > minutes to compile, let alone C++ apps which take _hours_ to
> > compile. 15 seconds is a godsend.
> 
> A company I did some Python training for (they used Python for their
> integration and system testing, and a bit of unit testing) back in
> 2006 had a C++ product whose "from scratch" build time genuinely was
> 56 hours.
> 

Yea, my understanding is that full-build times measured in days are (or
used to be, don't know if they still are) also typical of high-budget
C++-based videogames.



More information about the Digitalmars-d mailing list