Skip to content
Low level runtime library for the D programming language
D Makefile Assembly C Shell C++
Branch: master
Clone or download
dlang-bot Merge pull request #2735 from TurkeyMan/cas_improvements
Further improve cas functions
merged-on-behalf-of: Nicholas Wilson <>
Latest commit 9076669 Aug 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add @BetterC to druntime Aug 3, 2019
.github Add a sponsorship button Jun 4, 2019
benchmark vdparser benchmark: fix typo for version=EXTENDED May 5, 2019
changelog Add atomicFetchAdd/Sub Aug 17, 2019
def odbc32.def Unicode functions Mar 2, 2016
src Add atomicFetchAdd/Sub Aug 17, 2019
test Merge remote-tracking branch 'upstream/stable' into merge_stable Aug 9, 2019
.codecov.yml [Codecov] Replace threshold:5 with informational:true Feb 7, 2018
.editorconfig Build and test Nov 8, 2018
.gitignore .gitignore: Fix Makefile rule Mar 4, 2017
CODEOWNERS Remove src/rt/osx_tls.c Jul 7, 2019 Improve changelog directory advise Dec 11, 2017
Jenkinsfile use ci repo as shared jenkins library Oct 6, 2017
LICENSE.txt Remove header from LICENSE.txt, s.t. GitHub can detect it Jan 2, 2018 Fix broken link in README Apr 28, 2019
appveyor.yml One more try? Jul 29, 2019
dub.sdl Add a DUB receipt Aug 13, 2018
posix.mak Merge pull request #2711 from MartinNowak/merge_stable Aug 3, 2019
project.ddoc add PROJECT=druntime ddoc macro Jan 10, 2014
setmscver.bat Add C++17 tests fpr Windows. Jul 30, 2019
win32.mak Add CoreUnittest version identifier Jul 5, 2019
win64.mak One more try? Jul 29, 2019

DRuntime: Runtime Library for the D Programming Language

GitHub tag Bugzilla Issues CircleCI Buildkite Code coverage license

This is DRuntime. It is the low-level runtime library backing the D programming language.

DRuntime is typically linked together with Phobos in a release such that the compiler only has to link to a single library to provide the user with the runtime and the standard library.


DRuntime is meant to be an abstraction layer above the compiler. Different compilers will likely have their own versions of DRuntime. While the implementations may differ, the interfaces should be the same.


The runtime library provides the following:

  • The Object class, the root of the class hierarchy.
  • Implementations of array operations.
  • The associative array implementation.
  • Type information and RTTI.
  • Common threading and fiber infrastructure.
  • Synchronization and coordination primitives.
  • Exception handling and stack tracing.
  • Garbage collection interface and implementation.
  • Program startup and shutdown routines.
  • Low-level math intrinsics and support code.
  • Interfaces to standard C99 functions and types.
  • Interfaces to operating system APIs.
  • Atomic load/store and binary operations.
  • CPU detection/identification for x86.
  • System-independent time/duration functionality.
  • D ABI demangling helpers.
  • Low-level bit operations/intrinsics.
  • Unit test, coverage, and trace support code.
  • Low-level helpers for compiler-inserted calls.


To report a bug or look up known issues with the runtime library, please visit the bug tracker.


See the LICENSE.txt file for licensing information.


See the wiki page for build instructions.

You can’t perform that action at this time.