On 2012-12-01 22:32, Rob T wrote:

I have to agree, rdmd should be a library.

It's entirely possible that the very best way around the build issue
(and likely many other issues as well), is through an extensible library
format for the compiler, transforming it in to an embeddable tool that
even itself can use.

As you know, D interacts very poorly with the concepts of extensible
libraries, for example, druntime is not even position independent, so it
seems the advantages of library use was not in the mind set when D was
first created. Imagine where this can be taken!

Yeah, but you can get pretty far with static libraries. Instead of the build tool running the compiler to determine the dependencies a library could provide that functionality. Preferably the compiler should be built around the same library.

We really need a generally agreed on official road map for all the devs
to follow. What I've seen so far focuses far too much on the language
feature set alone, but the tools are a significant component of any
language, so that part should not be taken so lightly. Time to change
that mindset, somehow.

I absolutely agree.

--
/Jacob Carlborg

Reply via email to