question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide DMD compiler for d.godbolt.org

See original GitHub issue

Hey @mattgodbolt,

Your compiler explorer is pretty awesome and I often use d.godbolt.org Now as D has three main compilers I was wondering whether it’s possible to expose DMD on your site as well?

AFAICT this shouldn’t be difficult and @ibuclaw has already done a lot of great work in this regard:

https://github.com/mattgodbolt/compiler-explorer/compare/master...ibuclaw:dlang

@mattgodbolt what would be the best way to do so? Or in other words

  • What would be required apart from addding a lib/compilers/dmd.js?
  • Can I add dmd directly to /etc/config/d.amazon.properties?

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
RubenRBScommented, Mar 8, 2018

Hi! So, after a bit of work, DMD is now oficially supported (Long overdue, we know. Sorry!) It does not yet have line matching support, and we should probably get some more versions there. (Besides trunk, which versions would you like to see? Any specific?) as I’m unable to get dmd/obj2asm to output relevant info (If you know how I could do this, please let me know!) After it gets a bit of testing (Feel free to test on your machine, see if it works 😄) we’ll push this as soon as possible. I have to thank @ibuclaw for his old DMD implementation, which pointed me in the right direction 👍

And thanks everyone for your patience on this one 😃

0reactions
JohanEngelencommented, Feb 23, 2018

Great @RabsRincon !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Provide DMD compiler for d.godbolt.org · Issue #306 - GitHub
DMD is an utter pain to get working as it only generates object code, not assembler. Meaning that all the nice features have...
Read more >
Compiler Explorer
Compiler Explorer is an interactive online compiler which shows the assembly output of compiled C++, Rust, Go (and many more) code.
Read more >
d.godbolt.org now supports DMD - D Programming Language ...
Thanks to the work of Rabs Rincon [1] DMD is now supported on https://d.godbolt.org A simple example of comparing DMD's object code with...
Read more >
The reference D compiler is now open source - Hacker News
- DMD is by far the D compiler with the shortest compile time. It's actually so fast that it comes with a utility,...
Read more >
View Assembly from DMD with line numbers - Stack Overflow
You may want to use http://d.godbolt.org/ (gdc only).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found