D is supposed to compile fast.

Tony tonytdominguez at aol.com
Sun Nov 25 22:26:05 UTC 2018


On Sunday, 25 November 2018 at 22:00:21 UTC, Chris Katko wrote:
> On Saturday, 24 November 2018 at 20:44:57 UTC, welkam wrote:
>> On Friday, 23 November 2018 at 08:57:57 UTC, Chris Katko wrote:
>>> D is supposed to compile fast.
>>
>> You didnt read the fine print. It compiles simple code fast. 
>> Also compilation is separate step from linking and your 
>> program might spend half of "compilation" time in link phase.
>
> Wait wait wait wait wait.
>
> So 1) I have to compile manually, then link. Except that also 
> runs the files every time even if they're up-to-date. Is that 
> normal behavior for C/C++?

"runs the files every time"?  If that means "compiles the files 
every time", then no. D  works exactly like C/C++ - you only need 
to compile-to-object-code source files in the project that have 
changed since the last time they were compiled.


More information about the Digitalmars-d-learn mailing list