www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DDMD is now in the master branch

reply "Daniel Murphy" <yebbliesnospam gmail.com> writes:
Several hours ago, Walter merged my DDMD branch into master.  This means 
that an additional 'ddmd' target is available in the makefiles, and the 
autotester will check that it builds.

The make target converts the C++ frontend source to D, and then compiles 
with the host dmd.  The converter is included in the DMD repo for now.

If you are a DMD developer, pull requests may need to be updated to modify 
the converter's configuration file, or to replace problematic code that 
cannot be converted.  Details can be found here: 
http://wiki.dlang.org/Updating_Pull_Requests_for_DDMD

For everyone else, please test the generated ddmd binary with your projects 
and report any correctness or performance problems you encounter.  I'm also 
interested in feedback on the quality of the generated D source.

When we are satisfied with the quality of the D version, we will switch over 
all development to it and delete the C++ source.  If we're lucky this will 
happen before the 2.068 release.

Thanks to everybody who has helped with DDMD over the last two years. 
Apr 07 2015
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2015-04-08 08:26, Daniel Murphy wrote:
 Several hours ago, Walter merged my DDMD branch into master.  This means
 that an additional 'ddmd' target is available in the makefiles, and the
 autotester will check that it builds.

 The make target converts the C++ frontend source to D, and then compiles
 with the host dmd.  The converter is included in the DMD repo for now.

 If you are a DMD developer, pull requests may need to be updated to
 modify the converter's configuration file, or to replace problematic
 code that cannot be converted.  Details can be found here:
 http://wiki.dlang.org/Updating_Pull_Requests_for_DDMD

 For everyone else, please test the generated ddmd binary with your
 projects and report any correctness or performance problems you
 encounter.  I'm also interested in feedback on the quality of the
 generated D source.

 When we are satisfied with the quality of the D version, we will switch
 over all development to it and delete the C++ source.  If we're lucky
 this will happen before the 2.068 release.

 Thanks to everybody who has helped with DDMD over the last two years.
This is great news, awesome :) -- /Jacob Carlborg
Apr 08 2015
prev sibling next sibling parent reply "bioinfornatics" <bioinfornatics fedoraproject.org> writes:
Good news,

little question as ddmd generate a code does this means that ddmd
backend and frontend is full open source under boost license?

regards
Apr 08 2015
next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Wednesday, 8 April 2015 at 08:20:49 UTC, bioinfornatics wrote:
 Good news,

 little question as ddmd generate a code does this means that 
 ddmd
 backend and frontend is full open source under boost license?

 regards
IIRC ddmd is only the frontend.
Apr 08 2015
prev sibling parent reply "Daniel Murphy" <yebbliesnospam gmail.com> writes:
"bioinfornatics"  wrote in message 
news:guokkisbhbhgbvohjurn forum.dlang.org...

 little question as ddmd generate a code does this means that ddmd
 backend and frontend is full open source under boost license?
The backend is still in C++ and the license is unchanged. And most likely will never change. We are working to mitigate this by restructuring the frontend so that it is easier to maintain GDC and LDC, in the hope that they will be able to follow the dmd frontend version much more closely.
Apr 08 2015
parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/8/2015 2:45 AM, Daniel Murphy wrote:
 The backend is still in C++ and the license is unchanged.  And most likely will
 never change.
Also, translating code to another language creates a derived work and does not obviate the copyright or license.
Apr 08 2015
prev sibling next sibling parent reply "Martin Nowak" <code dawg.eu> writes:
On Wednesday, 8 April 2015 at 06:26:04 UTC, Daniel Murphy wrote:
 If we're lucky this will happen before the 2.068 release.
That would be great, though being able to compile ddmd with ldc and/or gdc is necessary IMO to make it releasable. What's missing to make that work?
Apr 08 2015
parent "Daniel Murphy" <yebbliesnospam gmail.com> writes:
"Martin Nowak"  wrote in message 
news:ucmrojmbjdaubdzqjisy forum.dlang.org...

 That would be great, though being able to compile ddmd with ldc and/or gdc 
 is necessary IMO to make it releasable. What's missing to make that work?
Not sure, but they will most likely need to be updated to 2.067. The main issues are likely to be C++ ABI related.
Apr 08 2015
prev sibling next sibling parent reply "Robert burner Schadek" <rburners gmail.com> writes:
Congratulations
Apr 08 2015
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/8/15 2:07 AM, Robert burner Schadek wrote:
 Congratulations
Seconded. Also found this: https://www.reddit.com/r/programming/comments/31splb/ddmd_the_c_to_d_conversion of_the_reference_d/ -- Andrei
Apr 08 2015
prev sibling next sibling parent Andrej Mitrovic via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 4/8/15, Daniel Murphy via Digitalmars-d <digitalmars-d puremagic.com> wrote:
 Several hours ago, Walter merged my DDMD branch into master.
I'm so incredibly proud that you've achieved this. The fact that we'll be able to hack on the D compiler in D -- is just beyond words.. I'm speechless. Fantastic work.
Apr 08 2015
prev sibling parent "Joakim" <dlang joakim.fea.st> writes:
On Wednesday, 8 April 2015 at 06:26:04 UTC, Daniel Murphy wrote:
 Several hours ago, Walter merged my DDMD branch into master.  
 This means that an additional 'ddmd' target is available in the 
 makefiles, and the autotester will check that it builds.

 The make target converts the C++ frontend source to D, and then 
 compiles with the host dmd.  The converter is included in the 
 DMD repo for now.

 If you are a DMD developer, pull requests may need to be 
 updated to modify the converter's configuration file, or to 
 replace problematic code that cannot be converted.  Details can 
 be found here: 
 http://wiki.dlang.org/Updating_Pull_Requests_for_DDMD

 For everyone else, please test the generated ddmd binary with 
 your projects and report any correctness or performance 
 problems you encounter.  I'm also interested in feedback on the 
 quality of the generated D source.

 When we are satisfied with the quality of the D version, we 
 will switch over all development to it and delete the C++ 
 source.  If we're lucky this will happen before the 2.068 
 release.

 Thanks to everybody who has helped with DDMD over the last two 
 years.
Great work! Looking forward to all the benefits that will drop out of most of the frontend being written in D itself. I know I find D easier to read than C++, so it'll help me.
Apr 08 2015