Re: D-Day for DMD is today!
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! Wow! I'll spread the Word!
Re: D-Day for DMD is today!
On 23-Aug-2015 08:17, 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! Congratulations! Looks like my last excuse for not hacking on DMD evaporated.. Ouch ;) -- Dmitry Olshansky
Re: D-Day for DMD is today!
Am 23.08.2015 um 07:17 schrieb Walter Bright: 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! Congratulations!
Re: D-Day for DMD is today!
On 08/23/2015 01:08 PM, Martin Nowak wrote: On 08/23/2015 06:35 PM, Nick Sabalausky wrote: I haven't worked with the conversion tool before. How is this part done? It's the exact command below that line, we've incorporated that into the makefile. Ah, ok, I misunderstood that part.
Re: D-Day for DMD is today!
On 08/23/2015 07:08 PM, Martin Nowak wrote: > On 08/23/2015 06:35 PM, Nick Sabalausky wrote: >> >> I haven't worked with the conversion tool before. How is this part done? > > It's the exact command below that line, we've incorporated that into the > makefile. > In case it doesn't work b/c you added a new symbol, you need to updated magicport.json during the rebase. https://github.com/MartinNowak/dmd/blob/9907cf65091f1c378c4955b7b5ee8287c17ae879/src/magicport.json
Re: D-Day for DMD is today!
On 08/23/2015 06:35 PM, Nick Sabalausky wrote: > > I haven't worked with the conversion tool before. How is this part done? It's the exact command below that line, we've incorporated that into the makefile.
Re: D-Day for DMD is today!
On 08/23/2015 01:37 AM, Martin Nowak wrote: On 08/23/2015 07:22 AM, Rikki Cattermole wrote: Now lets hope the next stage is smooth in the transition. Here is a small guide on how to update a PR. https://github.com/D-Programming-Language/dmd/pull/4922#issuecomment-133776696 "# convert all commits using magicport" I haven't worked with the conversion tool before. How is this part done?
Re: D-Day for DMD is today!
Awesome job Daniel!
Re: D-Day for DMD is today!
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.
Re: D-Day for DMD is today!
On Sunday, 23 August 2015 at 09:44:55 UTC, Walter Bright wrote: 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:fmoabuqgvlztgmqyj...@forum.dlang.org... [...] 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! Yes, it builds with dmc. But nobody uses dmc with windows. It doesn't build with msvc due longdouble and other troubles. Please, fix it.
Re: D-Day for DMD is today!
"Mike" wrote in message news:hkyvytmqbstkelkum...@forum.dlang.org... There are still a number of .h files in the front end. What will happen with those? Do they need to be maintained? For now they must be maintained by hand, if there is any possibility of the glue layers or backends needing them. In the future we will hopefully auto-generate them.
Re: D-Day for DMD is today!
On Sunday, 23 August 2015 at 05:17:33 UTC, Walter Bright wrote: We have made the switch from C++ DMD to D DMD! Very Cool! And thank you to all who worked towards it. There are still a number of .h files in the front end. What will happen with those? Do they need to be maintained?
Re: D-Day for DMD is today!
"Dicebot" wrote in message news:jdgpeyxvdltshldnf...@forum.dlang.org... Great! Daniel, does that mean that I can remove DDMD testing job from my CI? :) Yes, thanks!
Re: D-Day for DMD is today!
On 08/23/2015 11:09 AM, Dicebot wrote: > Great! > > Daniel, does that mean that I can remove DDMD testing job from my CI? :) I think so.
Re: D-Day for DMD is today!
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
Re: D-Day for DMD is today!
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:fmoabuqgvlztgmqyj...@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!
Re: D-Day for DMD is today!
On Sunday, 23 August 2015 at 08:56:14 UTC, Daniel Murphy wrote: "BBasile" wrote in message news:fmoabuqgvlztgmqyj...@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.
Re: D-Day for DMD is today!
Great! Daniel, does that mean that I can remove DDMD testing job from my CI? :)
Re: D-Day for DMD is today!
"Joakim" wrote in message news:sfhycfhmabpfxxuxn...@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.
Re: D-Day for DMD is today!
"BBasile" wrote in message news:fmoabuqgvlztgmqyj...@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
Re: D-Day for DMD is today!
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!
Re: D-Day for DMD is today!
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!! :)
Re: D-Day for DMD is today!
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.
Re: D-Day for DMD is today!
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! 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. Can we look forward to a complete ddmd, ie backend and everything ported to D too, anytime soon?
Re: D-Day for DMD is today!
On Sunday, 23 August 2015 at 06:08:54 UTC, Daniel Murphy wrote: "BBasile" wrote in message news:rljvemqjfvnnqqnnc...@forum.dlang.org... Excellent. I guess it's also time to clean the wiki page that explained how to build under win32 with DMC. It's obsolete now. Nope! The glue layer and backend are still in C++, and still need to be built with DMC. Of course. I Haven't tried to build it when i've written this observation. 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 ?