# ldc-developers/ldc

The LLVM-based D Compiler.

Repository: https://github.com/ldc-developers/ldc
Canonical: https://ross.abutalabs.com/products/ldc
Homepage: http://wiki.dlang.org/LDC
Language: D
License: NOASSERTION
License Family: other
Topics: ldc, llvm, d, compiler, dlang
Last push: 2026-08-26T10:38:01+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 48, longevity 100
- inputs: {"age_days": 5504, "days_push": 7, "days_rel": 185, "gap_med": 95, "n_releases_24m": 4}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1366, forks 293 (observed 2026-08-28T04:04:31.311082+00:00)

## What it is
LDC is a portable compiler for the D programming language that uses the official DMD frontend and LLVM for optimization and code generation. It is fully open source and provides pre-built binaries for common platforms.

## Use cases
- compile D programs with LLVM optimizations
- build D applications on Linux, macOS, Windows, or FreeBSD
- install a D compiler via package manager or install script
- cross-platform D development toolchain
- use latest D2 language features with a modern backend

## When to choose
- you write D code and want LLVM-level optimization and code generation
- you need a portable D compiler with pre-built binaries across platforms
- you want the latest D2 language support via the DMD frontend

## When to avoid
- you need D1 support, which is only on a legacy branch
- you prefer the reference DMD compiler toolchain
- you rely on community package managers and need the full official feature set

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, developer-tools
- domain: programming-languages, compilers, developer-tools
- platform: windows, bsd, cross-platform, cli
- tags: dlang, llvm, d-compiler, code-generation, linux, macos, android

## Member repositories
- ldc-developers/ldc (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.311082+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:13.228225+00:00, confidence not recorded.
  - readme: https://github.com/ldc-developers/ldc (fetched 2026-08-28T04:04:31.311082+00:00, sha 4962ef820c01)
  - homepage: http://wiki.dlang.org/LDC (fetched 2026-08-29T11:58:24.295101+00:00, sha 562f1b6bd586)
- Data as of 2026-08-30T08:39:29.467469+00:00.
