August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | On 8/23/2015 12:48 AM, Joakim wrote:
> Can we look forward to a complete ddmd, ie backend and everything ported to D
> too, anytime soon?
Once this all settles down and we're comfortable with it, I'd like to port the rest of dmd to D. No schedule for now.
|
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sunday, 23 August 2015 at 05:17:33 UTC, Walter Bright wrote:
> https://github.com/D-Programming-Language/dmd/pull/4923
>
> We have made the switch from C++ DMD to D DMD!
>
Congratulations!! :)
|
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sunday, 23 August 2015 at 05:17:33 UTC, Walter Bright wrote:
> https://github.com/D-Programming-Language/dmd/pull/4923
>
> We have made the switch from C++ DMD to D DMD!
>
> Many, many thanks to Daniel Murphy for slaving away for 2.5 years to make this happen. More thanks to Martin Nowak for helping shepherd it through the final stages, and to several others who have pitched in on this.
>
> This is a HUGE milestone for us.
>
> Much work remains to be done, such as rebasing existing dmd pull requests. Thanks in advance for the submitters who'll be doing that. I hope you aren't too unhappy about the extra work - it's in a good cause!
Thats great news!
|
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to BBasile | "BBasile" wrote in message news:fmoabuqgvlztgmqyjcwf@forum.dlang.org... > By the way, currently under win32 it's not possible to build DDMD unless the line > > --- > #HOST_DC=dmd > --- > > is uncommented. Because there is a bunch of commands using dmd compile and run (-run) in win32.mak. Is it a bug ? Maybe I miss out a step to bootstrap ? The missing step is to set HOST_DC in the environment. My current HOST_DC is c:\d\dmd2.067beta\windows\bin\dmd.exe -conf=c:\d\dmd2.067beta\windows\bin\sc.ini |
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | "Joakim" wrote in message news:sfhycfhmabpfxxuxntco@forum.dlang.org... > Great work, thanks to Daniel and others who helped out, can't wait to use ddmd and see all the changes that come with it in the next couple releases. I can't wait to use foreach internally! No more manual for loops! > Can we look forward to a complete ddmd, ie backend and everything ported to D too, anytime soon? I've started on the glue layer, and most of that should be done soon, but the backend brings a bunch of complications: - The code style is nothing like the frontend - It makes heavy use of the preprocessor - We don't have a good way of testing it, which makes refactoring risky My current plan is to create a nice text form of the backend's IR, then convert DMC's test suite to this format, with before and after snapshots. I can then feed these tests through DMD's backend (no need for a C++ frontend any more) to check for regressions, letting me start modernizing the code and converting it to D. This is going to take a while. |
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Great! Daniel, does that mean that I can remove DDMD testing job from my CI? :) |
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Murphy | On Sunday, 23 August 2015 at 08:56:14 UTC, Daniel Murphy wrote: > "BBasile" wrote in message news:fmoabuqgvlztgmqyjcwf@forum.dlang.org... > >> By the way, currently under win32 it's not possible to build DDMD unless the line >> >> --- >> #HOST_DC=dmd >> --- >> >> is uncommented. Because there is a bunch of commands using dmd compile and run (-run) in win32.mak. Is it a bug ? Maybe I miss out a step to bootstrap ? > > The missing step is to set HOST_DC in the environment. > > My current HOST_DC is > c:\d\dmd2.067beta\windows\bin\dmd.exe -conf=c:\d\dmd2.067beta\windows\bin\sc.ini I don't know what happend on my setup but now it's ok. I use the following script http://wiki.dlang.org/Building_DMD#Using_a_D_script It looks like some old garbages were leading to ? well I don't know. |
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to BBasile | On 8/23/2015 2:36 AM, BBasile wrote:
> On Sunday, 23 August 2015 at 08:56:14 UTC, Daniel Murphy wrote:
>> "BBasile" wrote in message news:fmoabuqgvlztgmqyjcwf@forum.dlang.org...
>>
>>> By the way, currently under win32 it's not possible to build DDMD unless the
>>> line
>>>
>>> ---
>>> #HOST_DC=dmd
>>> ---
>>>
>>> is uncommented. Because there is a bunch of commands using dmd compile and
>>> run (-run) in win32.mak. Is it a bug ? Maybe I miss out a step to bootstrap ?
>>
>> The missing step is to set HOST_DC in the environment.
>>
>> My current HOST_DC is
>> c:\d\dmd2.067beta\windows\bin\dmd.exe -conf=c:\d\dmd2.067beta\windows\bin\sc.ini
>
> I don't know what happend on my setup but now it's ok.
> I use the following script http://wiki.dlang.org/Building_DMD#Using_a_D_script
> It looks like some old garbages were leading to ? well I don't know.
It's building nicely under win32 in my setup. Much smoother than I expected!
|
August 23, 2015 Re: D-Day for DMD is today! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On 08/23/2015 08:48 AM, Iain Buclaw via Digitalmars-d-announce wrote: > It should do with whatever is in master at least. But until I'm able to release new binaries, there is at least new TravisCI integration testing of PRs that test building ddmd with ldc and gdc. But it currently fails. https://travis-ci.org/D-Programming-Language/dmd/builds/76838751 https://travis-ci.org/D-Programming-Language/dmd/jobs/76838753#L287 |
Copyright © 1999-2021 by the D Language Foundation