[OT] Previously: DMD - Windows -> C# in gamedev
Walter Bright
newshound2 at digitalmars.com
Sun Jan 8 15:00:15 PST 2012
On 1/8/2012 1:42 PM, Peter Alexander wrote:
> "As an example, for me within our current code at Bungie, a single file change
> in the code I usually work on can cost as much as 10mins in linking (many
> targets). If I opt to build a single target (say the runtime), then this is
> reduced to ~2 mins. This is without any linker optimization such as Link Time
> Code Generation which is known to heavily increase Link time."
D should be faster at linking, even with the same linker, because if you use it
carefully a lot fewer redundant template instantiations get written to the
object file (which must be culled by the linker).
For example, if you use shared_ptr in C++, every single file that uses
shared_ptr will produce an object file containing the same compiled version of it.
More information about the Digitalmars-d
mailing list