Which D compiler is the most maintained and future-proof? [DMD GDC and LDC]

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon Jul 24 09:29:09 UTC 2023


There isn't a huge concern with which one you use.

Its quite common to use dmd for development, and ldc for release for 
example.

They all share the same frontend, so they really only differ between 
them by their glue code to the relevant backend and some modules in 
druntime that are optional. Oh and inline assembly, although there is 
some compat code in ldc/gdc for dmd style.

If dmd dies, so does ldc/gdc basically. Each one sees active development 
although gdc only has one developer. Ldc keeps up with the dmd releases 
pretty well.


More information about the Digitalmars-d-learn mailing list