www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - d.godbolt.org compiler explorer now has LDC too

reply Johan Engelen <j j.nl> writes:
https://twitter.com/mattgodbolt/status/788890061949509632

The compiler explorer at https://d.godbolt.org now also features 
LDC!

Now you can view the assembly output of GDC and LDC side-by-side, 
for example:
https://godbolt.org/g/y24RGI

cheers,
   Johan
Oct 20 2016
next sibling parent Martin Tschierschke <mt smartdolphin.de> writes:
On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:
 https://twitter.com/mattgodbolt/status/788890061949509632

 The compiler explorer at https://d.godbolt.org now also 
 features LDC!

 Now you can view the assembly output of GDC and LDC 
 side-by-side, for example:
 https://godbolt.org/g/y24RGI

 cheers,
   Johan
Cool tool! :-)
Oct 20 2016
prev sibling next sibling parent Johan Engelen <j j.nl> writes:
On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:
 The compiler explorer at https://d.godbolt.org now also 
 features LDC!
By the way, adding DMD should be doable. It looks like the code already supports objdump'ing a generated binary if assembly output is not available. Matt is super friendly, so for anyone interested: go submit PRs for DMD support! cheers, Johan
Oct 20 2016
prev sibling next sibling parent ZombineDev <petar.p.kirov gmail.com> writes:
On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:
 https://twitter.com/mattgodbolt/status/788890061949509632

 The compiler explorer at https://d.godbolt.org now also 
 features LDC!

 Now you can view the assembly output of GDC and LDC 
 side-by-side, for example:
 https://godbolt.org/g/y24RGI

 cheers,
   Johan
Nice work, Johan!
Oct 20 2016
prev sibling next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 10/20/16 4:23 AM, Johan Engelen wrote:
 https://twitter.com/mattgodbolt/status/788890061949509632

 The compiler explorer at https://d.godbolt.org now also features LDC!

 Now you can view the assembly output of GDC and LDC side-by-side, for
 example:
 https://godbolt.org/g/y24RGI

 cheers,
   Johan
That's great!! -- Andrei
Oct 20 2016
prev sibling parent Johan Engelen <j j.nl> writes:
On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:
 https://twitter.com/mattgodbolt/status/788890061949509632

 The compiler explorer at https://d.godbolt.org now also 
 features LDC!
And now it has LDC 1.1.0-beta3 aswell. See the magic of `-enable-cross-module-inlining`: https://godbolt.org/g/yk7OAo
Nov 09 2016