.D File Extension

D files exist as 2 different types. Please find information about each of them below.

Type 1: D Source Code File

A D file contains dependencies in plain text. It describes files used to create compiled objects by a C compiler. D files generated automatically when compiling with GCC using the -MMD flag. D files t...

General Information

Title D File Extension
Extension .d
Full Form D Source Code File
File Type Source Code File
Developer Walter Bright
MIME Type text/x-dsrc

File Function

Primary Function Contain source code
Additional Functions Compile into executable
Features Garbage-collected, Systems programming, Multi-paradigm

File Characteristics

Quality Depends on code
Supports Layers N/A
Supports Transparency N/A
Editable Yes

Use Cases

Software Development Yes
Game Development Yes
Systems Programming Yes

Security and Practices

Security Risks Code exploits, Vulnerabilities
Best Practices Code review, Secure coding, Unit testing

Historical/Version Information

Initial Release 2001
Latest Version D 2.097.2 (2021)

Associated Types

Similar Extensions .di, .json, .html

Software Compatibility

Software Usage Policy OS Compatibility
DMD (D Compiler) Free Windows, Mac, Linux, FreeBSD
LDC (LLVM D Compiler) Free Windows, Mac, Linux, FreeBSD, Solaris
GDC (GNU D Compiler) Free Various
VisualD Free Windows
Visual Studio Code with code-d extension Free Windows, Mac, Linux

Type 2: Source Dependency File

General Information

Title .D File Extension
Extension .d
Full Form Dependency File
File Type Developer File
Developer Various
MIME Type text/plain

File Function

Primary Function Track dependencies
Additional Functions Facilitate compilation
Features Auto-generated, Makefile-like

File Characteristics

Quality Text-based
Supports Layers No
Supports Transparency No
Editable Indirectly

Use Cases

Software Development Yes
Compilation Process Yes
Build Automation Yes

Security and Practices

Security Risks Minimal
Best Practices Version control, Cleanup

Historical/Version Information

Initial Release Varies
Latest Version Depends on tool

Associated Types

Similar Extensions .o, .obj, .exe, .a, .lib

Software Compatibility

Software Usage Policy OS Compatibility
GNU Make Free Unix-like, Windows
GCC Free Unix-like, Windows
Clang Free Unix-like, Windows, macOS