D
1 program
Added 2025-10-22T10:09:26Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: Dlang
Provenance: commit e8ebbcee8b · authored 2025-10-22T12:09:26+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
9 sources · pl_id:
pl/dWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: functional · imperative · object-oriented |
|---|---|
| Typing | inferred, static, strong |
| Designed by | D Language Foundation · Walter Bright · Andrei Alexandrescu (since 2007) |
| First appeared | 2001 |
| Influenced by | BASIC · C · C++ · C# · Eiffel · Java · Python · Ruby |
| License | Boost |
| Homepage | http://dlang.org |
Extensions claimed by this language
8 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.d | linguist | primary | 18.6M files |
.d | pygments | primary | 18.6M files |
.d | wikidata | primary | 18.6M files |
.dd | wikidata | primary | 41.7K files |
.def | wikidata | primary | 959.2K files |
.di | wikidata | primary | 34.7K files |
.di | linguist | secondary | 34.7K files |
.di | pygments | secondary | 34.7K files |
Related languages
LLM-contributed programs
Simple HTTP Server
Provenance: commit e8ebbcee8b · authored 2025-10-22T12:09:26+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
import vibe.vibe;
void main()
{
auto settings = new HTTPServerSettings;
settings.port = 8080;
settings.bindAddresses = ["::1", "127.0.0.1"];
listenHTTP(settings, &handleRequest);
runApplication();
}
void handleRequest(HTTPServerRequest req, HTTPServerResponse res)
{
res.writeBody("Hello, World!");
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.d/0 | .d | predicates | [{"kind": "any", "regexes": ["^module\\s+[\\w.]*\\s*;|import\\s+[\\w\\s,.:]*;|\\w+\\s+\\w+\\s*\\(.*\\)(?:\\(.*\\))?\\s*\\{[^}]*\\}|unittest\\s*(?:\\(.*\\))?\\s*\\{[^}]*\\}"]}] |