Hacker GitHub

← All repos

DigitalMars/Compiler

View on GitHub ↗ ★ 336 D

17 mentions on Hacker News by 4 people: 1 story, 16 comments · first 2018-05-22 · latest 2025-11-03

Mentions per year 17 mentions · busiest year 2018 (6)
20082026
  1. https://github.com/DigitalMars/Compiler
    comment by WalterBright · 2025-11-03 · in Writing FreeDOS Programs in C
  2. …m/dlang/dmd/blob/master/compiler/src/dmd/cp... is vastly different from the one I wrote in the 1980s: https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... My original evil plan was to recycle the old one, but I just couldn't.
    comment by WalterBright · 2022-10-29 · in The Business Impact of Code Quality
  3. The main cause of that is I was slow to make the compiler open source. It is open source now. https://github.com/DigitalMars/Compiler
  4. …here is some code in C that was translated to D (it's part of the Digital Mars C++ compiler): C: https://github.com/DigitalMars/Compiler/blob/dmc-cxx/dm/src/... D: https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... They look…
    comment by WalterBright · 2021-04-06 · in Wuffs’ PNG image decoder
  5. …from the original C-with-Classes code. DMC++ itself underwent the conversion to D using -betterC. https://github.com/DigitalMars/Compiler/tree/master/dm/src/d... It still looks a lot like C.
    comment by WalterBright · 2020-04-28 · in Better C – A subset of D Programming Language
  6. …the dictionary. It works surprisingly well. I added it to the Digital Mars C++ compiler as well. https://github.com/DigitalMars/Compiler/blob/master/dm/src/d...
    comment by WalterBright · 2020-02-18 · in The Myth of the Myth of the 10x Programmer
  7. …was originally written for my C compiler, then my C++ compiler. The source code can be found here: https://github.com/DigitalMars/Compiler The editor I use is https://github.com/DigitalMars/med which is translated to D from the older C…
    comment by WalterBright · 2020-01-15 · in Writing Software to Last 50 Years
  8. …Source code to the compiler/libraries is also free: https://github.com/DigitalMars/dmc https://github.com/DigitalMars/Compiler
  9. …code: https://github.com/facebookarchive/warp and the one for the C compiler I wrote long ago: https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... which is integrated with the C lexer for speed reasons.
  10. …DOS.) http://www.program-transformation.org/Transform/CCompilerHis... The Data Flow Analysis code: https://github.com/DigitalMars/Compiler/blob/master/dm/src/d...
    comment by WalterBright · 2019-08-20 · in Why Const Doesn't Make C Code Faster
  11. For comparison, here's the C++ lexer for Digital Mars C++: https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... The parser isn't in its own file, it's intermingled with the semantic processing, a mistake I didn't want to repeat…
  12. "Use the Source, Luke!" https://github.com/DigitalMars/Compiler/blob/master/dm/src/d...
    comment by WalterBright · 2018-07-24 · in The internals of testing in Rust in 2018
  13. …the list. DMD does a limited form of SROA I wrote as a proof of concept, it should be generalized. https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... I've also written a loop unroller, but it can be improved:…
    comment by WalterBright · 2018-07-24 · in The internals of testing in Rust in 2018
  14. …reduction, copy propagation, loop unrolling, dead store elimination, live range analysis, etc. https://github.com/DigitalMars/Compiler/blob/master/dm/src/d... The optimizer / code generator is the same one that Digital Mars C++ uses, which…
    comment by WalterBright · 2018-07-24 · in The internals of testing in Rust in 2018
  15. …DWARF exception handling. (I realise this doesn't really answer your question, but it's a start.) https://github.com/DigitalMars/Compiler/blob/7a33233c/dm/src... https://github.com/DigitalMars/Compiler/blob/7a33233c/dm/src...
    comment by MaxBarraclough · 2018-05-23 · in DigitalMars C/C++ Compiler
  16. …is progressively rewritten in d. For those interested, there is a tag for the last pure c version: https://github.com/DigitalMars/Compiler/tree/Last-C-Version Would probably be interesting to convert it in C++17 :-) Meta-comment: I delete…
    comment by Rexxar · 2018-05-23 · in DigitalMars C/C++ Compiler
  17. ▲ 286
    DigitalMars C/C++ Compiler
    story by tomcam · 2018-05-22 · 158 comments