What is the compilation model of D?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jul 25 05:57:23 PDT 2012


On 7/25/12, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> I find it shocking that anyone would consider 15 seconds slow to compile for
> a large program.

It's not shocking if you're used to a fast edit-compile-run cycle
which takes a few seconds and then starts to slow down considerably
when you involve more and more templates. When I start working on a
new D app it almost feels like programming in Python, the
edit-compile-run cycle is really fast. But eventually the codebase
grows, things slow down and I lose that "Python" feeling when it
starts taking a dozen seconds to compile. It just breaks my
concentration having to wait for something to finish.

Hell I can't believe how outdated the compiler technology is. I can
play incredibly realistic and interactive 3D games in real-time with
practically no input lag, but I have to wait a dozen seconds for a
tool to convert lines of text into object code? From a syntax
perspective D has moved forward but from a compilation perspective it
hasn't innovated at all.


More information about the Digitalmars-d mailing list