Compilation Time

Burp via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 10 11:36:19 PDT 2014


  I'm not sure how valid the comparison would be, even if someone 
did port it to D.

That C++ project is very old, and was likely not organized to 
minimize compilation times, may not have used precompiled headers 
etc.

  It is possible to set up C++ projects such that even very large 
ones will compile(incrementally) in only a few seconds(depends on 
what you changed), although it is something of a pain in the ass 
and requires a fair amount of work on the developers part.



On Tuesday, 10 June 2014 at 18:27:52 UTC, Mattcoder wrote:
> On Tuesday, 10 June 2014 at 18:19:02 UTC, Justin Whear wrote:
>> I think porting 300k lines of 15+ year-old, heavily-templated 
>> C++ would
>> have to be a labor of love.  You certainly couldn't pay me to 
>> do it.
>
> I understand your point, but like I said on my post, I'm using 
> this game as example, this could be generalized with any 
> project with suffers with compilation time, especially those 
> written in C/C++.
>
> Matheus.



More information about the Digitalmars-d mailing list