DMD backend now in D

Joakim dlang at joakim.fea.st
Tue Nov 13 21:39:14 UTC 2018


On Tuesday, 13 November 2018 at 20:42:00 UTC, Temtaime wrote:
> On Monday, 12 November 2018 at 02:37:54 UTC, Walter Bright 
> wrote:
>> On 11/11/2018 3:58 PM, Mike Franklin wrote:
>>> This is a significant milestone.  Congratulations, Walter!
>>
>> Many people helped out with this, too.
>>
>>> There are still a few .c files in 
>>> https://github.com/dlang/dmd/tree/master/src/dmd/backend, so 
>>> what's the significance of those?
>>
>> tk.c
>> fp.c
>> os.c
>> strtold.c
>> tk/mem.c
>>
>> These could be converted too, but are independent from 
>> everything else and hardly seem worth the bother. Sebastian 
>> has a PR for os.cd.
>>
>>
>>> Will there ever be a day when we no longer need a C/C++ 
>>> compiler to build DMD?
>>
>> Sure.
>>
>
> No, as phobos is dependent on C libraries such as a zlib for 
> example.

DMD doesn't use Phobos.

> Also D is dependent on libc.

It's possible to reimplement the subset of libc functions that 
DMD depends on in D.


More information about the Digitalmars-d-announce mailing list