[gsoc] DMD - Ideas

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Mar 20 22:36:54 UTC 2019


On Tue, Mar 19, 2019 at 10:30:20PM +0000, Bastiaan Veelo via Digitalmars-d wrote:
[...]
> Anyway, build.d could embed the version of the compiler with which it
> was built into itself, and check that against the version of the
> compiler that it calls for building.

Actually, this leads to an interesting idea: what if build.d embeds an
executable copy of dmd within itself?  Then it will never be out of
sync, and you'll be guaranteed that a working compiler is always
available.


T

-- 
Doubtless it is a good thing to have an open mind, but a truly open mind should be open at both ends, like the food-pipe, with the capacity for excretion as well as absorption. -- Northrop Frye


More information about the Digitalmars-d mailing list