Incremental builds?
PauloPinto
pjmlp at progtools.org
Fri Sep 27 04:33:14 PDT 2013
On Friday, 27 September 2013 at 10:01:13 UTC, John Colvin wrote:
> On Friday, 27 September 2013 at 07:12:50 UTC, Peter Alexander
> wrote:
>> On Thursday, 26 September 2013 at 23:47:34 UTC, Jonathan M
>> Davis wrote:
>>> On Thursday, September 26, 2013 23:29:56 John Colvin wrote:
>>>> On Thursday, 26 September 2013 at 14:02:53 UTC,
>>>> ProgrammingGhost
>>>>
>>>> wrote:
>>>> > I assume D can do incremental builds? How fast is the
>>>> > compile
>>>> > time compared to C++? Is it slower? C++ only has to read
>>>> > its
>>>> > header files and D would need to look at the entire project
>>>> > source code (or obj files?).
>>>>
>>>> dmd compile times are very fast compared to c++ compilers.
>>>
>>> Fast enough that you'd have to have a very large project for
>>> incremental
>>> builds to gain you anything. Maybe you could gain time if the
>>> incremental
>>> builds were done in parallel, but even then, the build time
>>> is going to be
>>> dwarfed by the link time in a lot of programs. Most projects
>>> aren't going to
>>> be big enough to really gain much from incremental builds.
>>> I'd only worry
>>> about that if I were doing a large application and building
>>> it was
>>> demonstratively slow.
>>>
>>> - Jonathan M Davis
>>
>> Unless you are doing optimised builds, which are still
>> painfully slow.
>
> In my experience, they are still faster than I was used to in
> c++
Any language with proper modules should be faster than C and C++.
More information about the Digitalmars-d
mailing list