Thread overview
D Language Front-End Proposed For GCC 8, 800k Lines of Code
May 28, 2017
Nordlöw
May 29, 2017
rikki cattermole
Jun 17, 2017
Iain Buclaw
Jun 17, 2017
Mark
Jun 17, 2017
Joakim
Jun 18, 2017
Iain Buclaw
May 28, 2017
Does this, perchance, deserve a post in "Announce"? :)

http://www.phoronix.com/scan.php?page=news_item&px=D-Frontend-For-GCC
May 29, 2017
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 :)
June 17, 2017
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.

June 17, 2017
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?
June 17, 2017
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.
June 18, 2017
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.