Request for comments: std.d.lexer

Dmitry Olshansky dmitry.olsh at gmail.com
Fri Feb 8 12:11:07 PST 2013


08-Feb-2013 20:51, Iain Buclaw пишет:
> On 8 February 2013 16:41, Brian Schott <briancschott at gmail.com
> <mailto:briancschott at gmail.com>> wrote:
>
>     On Friday, 8 February 2013 at 16:38:00 UTC, Iain Buclaw wrote:
>
>         I see we could be doing this all day. :þ
>
>
>     We could.
>
>
>         I'll lay down the hint, dmd compiles the source, not gcc. And
>         although gcc
>         may be invoked during a certain special stage of compilation,
>         its actually
>         just a driver to call a certain toolchain program that is
>         outside of gcc.
>         :-)
>
>
>     What we're saying is that dmd, The Digital Mars D Compiler, is
>     written in C++ and is thus built by GCC/G++. We can tell by looking
>     at the Makefile that DMD doesn't build itself.
>
>
> That still has nothing to do with how dmd links D programs. ;)

We've been discussing DMD's lexer written in C++ that is obviously 
compiled using the default compiler on target platform. That's what is 
being measured the good ol' C++ lexer vs D lexer. I don't see how the 
way DMD does linking is related to what tool is used to actually build it.


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list