digitalmars.D - DMD git HEAD now self-hosting
- H. S. Teoh via Digitalmars-d (12/12) Aug 27 2015 I'm surprised nobody has mentioned this on the forum yet, but as of 23
- David Nadlinger (5/9) Aug 27 2015 The DMC backend is still in C++, although Daniel is planning to
- Brad Anderson (3/14) Aug 27 2015 Haven't been reading Announce? :)
- H. S. Teoh via Digitalmars-d (6/27) Aug 27 2015 Ahh, just realized I'm not subscribed to the announce mailing list.
- Jacob Carlborg (5/7) Aug 27 2015 When one facepalm doesn't cut it :) [1]
- bitwise (7/26) Aug 27 2015 So.. looking through the source, I see lots of this:
- Daniel Murphy (3/7) Aug 27 2015 Yup. extern(C++) works with almost everything except special member
- Daniel Murphy (13/22) Aug 27 2015 We've been celebrating without you on the announce list!
- H. S. Teoh via Digitalmars-d (13/35) Aug 28 2015 Apparently. :-P
- wobbles (3/19) Aug 28 2015 And the other advantage is that we'll get performant code with a
I'm surprised nobody has mentioned this on the forum yet, but as of 23 Aug, dmd git HEAD has switched over to ddmd with the landmark commit 88ec9d8. Since that time, the remaining C++ files have been slowly but surely phased out one by one, replaced with their D equivalents. This is awesome news!!!! I think a celebration is in order. ;-) As of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in. Way to go, D! T -- No! I'm not in denial!
Aug 27 2015
On Thursday, 27 August 2015 at 20:43:49 UTC, H. S. Teoh wrote:I'm surprised nobody has mentioned this on the forum yet […]See http://forum.dlang.org/post/mrbl1d$qhs$1 digitalmars.comAs of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in.The DMC backend is still in C++, although Daniel is planning to convert it to D too. — David
Aug 27 2015
On Thursday, 27 August 2015 at 20:43:49 UTC, H. S. Teoh wrote:I'm surprised nobody has mentioned this on the forum yet, but as of 23 Aug, dmd git HEAD has switched over to ddmd with the landmark commit 88ec9d8. Since that time, the remaining C++ files have been slowly but surely phased out one by one, replaced with their D equivalents. This is awesome news!!!! I think a celebration is in order. ;-) As of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in. Way to go, D! THaven't been reading Announce? :) http://forum.dlang.org/post/mrbl1d$qhs$1 digitalmars.com
Aug 27 2015
On Thu, Aug 27, 2015 at 08:46:57PM +0000, Brad Anderson via Digitalmars-d wrote:On Thursday, 27 August 2015 at 20:43:49 UTC, H. S. Teoh wrote:Ahh, just realized I'm not subscribed to the announce mailing list. *facepalm* T -- English has the lovely word "defenestrate", meaning "to execute by throwing someone out a window", or more recently "to remove Windows from a computer and replace it with something useful". :-) -- John CowanI'm surprised nobody has mentioned this on the forum yet, but as of 23 Aug, dmd git HEAD has switched over to ddmd with the landmark commit 88ec9d8. Since that time, the remaining C++ files have been slowly but surely phased out one by one, replaced with their D equivalents. This is awesome news!!!! I think a celebration is in order. ;-) As of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in. Way to go, D! THaven't been reading Announce? :) http://forum.dlang.org/post/mrbl1d$qhs$1 digitalmars.com
Aug 27 2015
On 2015-08-27 23:02, H. S. Teoh via Digitalmars-d wrote:Ahh, just realized I'm not subscribed to the announce mailing list. *facepalm*When one facepalm doesn't cut it :) [1] [1] http://gamerindebt.co.uk/wp-content/uploads/2013/07/double-facepalm.jpg -- /Jacob Carlborg
Aug 27 2015
On Thursday, 27 August 2015 at 20:46:59 UTC, Brad Anderson wrote:On Thursday, 27 August 2015 at 20:43:49 UTC, H. S. Teoh wrote:So.. looking through the source, I see lots of this: extern (C++) class { ... } Wasn't extern(C++) only supposed to work on interfaces? Are the docs outdated? Thanks, BitI'm surprised nobody has mentioned this on the forum yet, but as of 23 Aug, dmd git HEAD has switched over to ddmd with the landmark commit 88ec9d8. Since that time, the remaining C++ files have been slowly but surely phased out one by one, replaced with their D equivalents. This is awesome news!!!! I think a celebration is in order. ;-) As of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in. Way to go, D! THaven't been reading Announce? :) http://forum.dlang.org/post/mrbl1d$qhs$1 digitalmars.com
Aug 27 2015
"bitwise" wrote in message news:ydbofgjkddszxedpwogv forum.dlang.org...So.. looking through the source, I see lots of this: extern (C++) class { ... } Wasn't extern(C++) only supposed to work on interfaces? Are the docs outdated?Yup. extern(C++) works with almost everything except special member functions.
Aug 27 2015
"H. S. Teoh via Digitalmars-d" wrote in message news:mailman.579.1440708229.13986.digitalmars-d puremagic.com...I'm surprised nobody has mentioned this on the forum yet, but as of 23 Aug, dmd git HEAD has switched over to ddmd with the landmark commit 88ec9d8. Since that time, the remaining C++ files have been slowly but surely phased out one by one, replaced with their D equivalents. This is awesome news!!!! I think a celebration is in order. ;-)We've been celebrating without you on the announce list!As of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in. Way to go, D!Unfortunately it's going to slow down for a little while. The files I've done post-switch were only left in C++ because they used a small part of the backend headers and were easier to do by hand instead of converting automatically. The rest of the glue layer/backend (~90 c++ files) is going to need a conversion project of the same scale as the frontend one, preceded by a refactoring project 10 times the size of the frontend one. Walter's recent backend cleanup PRs are working on this, and I'm working on a backend test suite to make refactoring safer. We could see DMD be 100% D within six months, depending on how much free time I have and how picky Walter is about my refactoring PRs.
Aug 27 2015
On Fri, Aug 28, 2015 at 11:17:55AM +1000, Daniel Murphy via Digitalmars-d wrote:"H. S. Teoh via Digitalmars-d" wrote in message news:mailman.579.1440708229.13986.digitalmars-d puremagic.com...[...]We've been celebrating without you on the announce list!Apparently. :-P6 months isn't that long of a time. Excited to hear that 100% D DMD will soon arrive. Another thing I just realized, is that by moving DMD to D, we've given ourselves much greater motivation to improve DMD's codegen, which I think is a good (and necessary!) thing, being the reference compiler and all. Not every newbie will understand the current situation where the reference compiler doesn't produce the most performant code. T -- BREAKFAST.COM halted...Cereal Port Not Responding. -- YHLAs of today, there are still about 28 or so C++ files left (84 source files are now in D). PRs converting C++ sources to D continue to trickle in. Way to go, D!Unfortunately it's going to slow down for a little while. The files I've done post-switch were only left in C++ because they used a small part of the backend headers and were easier to do by hand instead of converting automatically. The rest of the glue layer/backend (~90 c++ files) is going to need a conversion project of the same scale as the frontend one, preceded by a refactoring project 10 times the size of the frontend one. Walter's recent backend cleanup PRs are working on this, and I'm working on a backend test suite to make refactoring safer. We could see DMD be 100% D within six months, depending on how much free time I have and how picky Walter is about my refactoring PRs.
Aug 28 2015
On Friday, 28 August 2015 at 14:55:51 UTC, H. S. Teoh wrote:On Fri, Aug 28, 2015 at 11:17:55AM +1000, Daniel Murphy via Digitalmars-d wrote:And the other advantage is that we'll get performant code with a performant compiler - GDC/LDC are much slower running than DMD.[...][...][...]Apparently. :-P[...]6 months isn't that long of a time. Excited to hear that 100% D DMD will soon arrive. Another thing I just realized, is that by moving DMD to D, we've given ourselves much greater motivation to improve DMD's codegen, which I think is a good (and necessary!) thing, being the reference compiler and all. Not every newbie will understand the current situation where the reference compiler doesn't produce the most performant code. T
Aug 28 2015