www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D Language Front-End Proposed For GCC 8, 800k Lines of Code

reply =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
Does this, perchance, deserve a post in "Announce"? :)

http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
May 28
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
On 28/05/2017 8:23 PM, Nordlöw wrote:
 Does this, perchance, deserve a post in "Announce"? :)
 
 http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
Let's wait until a decision is made, then it will be all nice and official should it go in :)
May 28
prev sibling next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Sunday, 28 May 2017 at 19:23:04 UTC, Nordlöw wrote:
 Does this, perchance, deserve a post in "Announce"? :)

 http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
I thought, Sunday evening, no chance of that Phoronix guy posting a news item until Monday morning. How wrong I was. I've drafted up a wiki page to keep track of current tasks. https://wiki.dlang.org/GDC/GCCSubmission Now that I think about it, maybe trello would be better. Iain.
Jun 17
prev sibling parent reply Mark <smarksc gmail.com> writes:
On Sunday, 28 May 2017 at 19:23:04 UTC, Nordlöw wrote:
 Does this, perchance, deserve a post in "Announce"? :)

 http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
800k lines of code! Wow. Is this also how big the DMD frontend is?
Jun 17
parent reply Joakim <dlang joakim.fea.st> writes:
On Saturday, 17 June 2017 at 21:48:31 UTC, Mark wrote:
 On Sunday, 28 May 2017 at 19:23:04 UTC, Nordlöw wrote:
 Does this, perchance, deserve a post in "Announce"? :)

 http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
800k lines of code! Wow. Is this also how big the DMD frontend is?
No, Dscanner says the current ddmd frontend is about 84 klocs of D code, and I found last year that about 63 klocs of that was used by ldc, so that's what's really needed: http://forum.dlang.org/thread/ovkhtsdzlfzqrqneolyv forum.dlang.org I don't think this patch would be using the ddmd frontend though, as gdc was still using the older C++ frontend last I heard, but without having looked at the patch at all, the big difference is probably that they're counting druntime and phobos also, and misrepresenting that as part of the frontend.
Jun 17
parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Saturday, 17 June 2017 at 23:00:49 UTC, Joakim wrote:
 On Saturday, 17 June 2017 at 21:48:31 UTC, Mark wrote:
 On Sunday, 28 May 2017 at 19:23:04 UTC, Nordlöw wrote:
 Does this, perchance, deserve a post in "Announce"? :)

 http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
800k lines of code! Wow. Is this also how big the DMD frontend is?
No, Dscanner says the current ddmd frontend is about 84 klocs of D code, and I found last year that about 63 klocs of that was used by ldc, so that's what's really needed: http://forum.dlang.org/thread/ovkhtsdzlfzqrqneolyv forum.dlang.org I don't think this patch would be using the ddmd frontend though, as gdc was still using the older C++ frontend last I
Doesn't make much difference whether in C++ or D.
 heard, but without having looked at the patch at all, the big 
 difference is probably that they're counting druntime and
The link in the article is to the patch series posting, which includes only the patch summary and diff stat. If you haven't read it then I highly recommend that you do.
 phobos also, and misrepresenting that as part of the frontend.
About 90% of that is the combination of dmd frontend, testsuite, druntime, phobos - i.e files that are copied verbatim from dlang on github. Then half of the remainder is roughly auto generated content. Regards, Iain.
Jun 17