dmd makes D appear slow

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 23:35:23 PDT 2015


On 2015-06-03 12:37, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:

> Now really? C was designed at a time where you couldn't even hold the
> source file in memory, so there is not even a need for an explicit AST.
>
> C can essentially be "streamed" in separate passes: cpp->cc->asm->linking
>
> If compiling C is slow, it is just the compiler or the build system, not
> the language.

Doesn't a C compiler need to reparse headers in C? Unlike D were they 
can be cached.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list