On 11/20/2012 2:45 PM, Jonathan M Davis wrote:
http://www.drdobbs.com/cpp/c-compilation-speed/228701711
One thing I neglected to mention is that template instantiation is terribly,
fundamentally, slow. This problem comes to the fore when templates are used to
implement computations, such as doing a compile time factorial using a template.
No amount of module design can possibly fix that.
D fixes it by using CTFE for compile time computations. (You can still do it
with templates, but you'll be sorry.) CTFE is still slow, but it's a hundred
times (made up number) faster than using templates.