Skip to content

A curated list of awesome D documents, frameworks, libraries and software. Inspired by awesome-python.

Notifications You must be signed in to change notification settings

open-code-search/awesome-d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Awesome D Awesome


A curated list of awesome D frameworks, libraries and software. Inspired by awesome-python.

I created this list so that when I needed something in the future, it would be easy to find. Most of the documents and links are collected from the D forum, the D wiki, and the D package repository. Exploring GitHub also helps as many of the libs are hosted there.

If you know an interesting lib/app in D, please tell me by issue or a pull request :-).

Contents

Official Website

Official Website URLs.

Getting Help

For when you're stuck.

People

The people that made D the language it is.

  • Walter Bright - Father of D. Walter Bright is the creator and first implementer of the D programming language and has implemented compilers for several other languages.
  • Andrei Alexandrescu, PhD - C++ guru. Author of The D Programming Language and Modern C++ Design. With Walter Bright, Andrei co-designed many important features of D and authored a large part of D's standard library. Andrei works as a trainer in advanced C++ programming and algorithms and is now actively evangelizing D in the organization.
  • YOU - Please add your information if you've done something interesting in D. It is you, the awesome people that made D awesome.

Events

  • DConf - the premier event where D luminaries exchange knowledge, insight, and inspiration on everything related to the D language and its ecosystem.

Organizations

Organizations that contribute to D projects.

  • D Programming Language - Official Organization, hosts DMD, Phobos and other official tools and libs.
  • LDC Developers - LDC releated projects.
  • DerelictOrg - A GitHub organization hosting all Derelict bindings including OpenGL and other multimedia/game related library bindings. (OpenGL 3, Bgfx, ENet, SDL 2, GLFW 3,OpenGLES, Free Image, Assimp3, libtheora, libogg, libvorbis, SFML 2, libpq, PhysicsFS, Open Dynamics Engine, Lua, DevIL, OpenAL, ALURE).
  • DlangScience -A focal point and first port of call for scientific libraries and tooling for D.
  • Circular Studios - We are a group of game developers at Rochester Institute of Technology building games and game tech. Hosts Dash, a 3D game engine written in D, and other related libs.
  • d-gamedev-team - An organization of gamedev related repos, including a D gamedev toolkit called gfm and an opengl tutorial in D.
  • EMSI - A Career building company that uses D as their main language. Hosts their opensource projects.
  • infognition - Infognition is a self-funded and self-sustained company specializing in video processing and compression technologies for end-users and developers. They provide several opensource video related applications & tools written in D, hosted on bitbucket. They are also porting their main product--Video Enchanser from C/C++ to D.
  • libmir - D's numeric library development team
  • sociomantic labs - Berlin based company specializing in real-time bidding for online advertising. Main sponsor of the annual D language conference. Has open-sourced large parts of their codebase as part of the tsunami organization.
  • Symmetry Investments - Symmetry Investments LP is an investment management company with approximately US$4.7 billion in assets under management as of 31 December 2018. Main sponsor of the Symmetry Autumn of Code. Have sponsored the development of excel-d, dpp, autowrap, mir-algorithm, and various other projects.
  • HuntLabs - A technology group using DLang. Have pure D language implementation of quickly develop server-side applications and build distributed system services.

Books

D related books. You can find another list of books on the Books D wiki page.

  • TDPL - The D Programming Language by Andrei Alexandrescu.
  • Programming in D - A very detailed book about programming in D by Ali Çehreli covering many areas of the language. Has a free online version and is suitable for beginners.
  • D Cookbook - A recipe-packed reference guide filled with practical tasks that are concisely explained to develop and broaden the user's abilities with the D programming language. by Adam D. Ruppe. Here is an interesting review of the book.
  • Learning D - This book is intended for those with some background in a C-family language who want to learn how to apply their knowledge and experience to D. (...) This book will help you get up to speed with the language and avoid common pitfalls that arise when translating C-family experience to D.
  • D Web Development - Whether you are new to the world of D, or already have developed applications in D, or if you want to leverage the power of D for web development, then this book is ideal for you.

Tutorials

D related tutorials.

  • The Dlang Tour - An interactive tutorial for D, inspired by Golang Tour.
  • Pragmatic D tutorial - This is a pragmatic introduction to the D Programming Language. by Andreas Zwinkau.
  • D Template Tutorial - A tutorial dedicated to D Templates. Very good explanation about templates. Has pdf version. by Philippe Sigaud.
  • Component programming in D - An article written by Walter Bright that details how D's functional support leads to a flexible and beautiful component programming style.
  • Component programming with ranges - A detailed blog post about how to do component programming in a idiomatic D way with ranges, with a full working example.
  • Functional image processing in D - A very interesting tutorial about writing an image processing lib in D. Shows the power of D's templates/CTFE/Ranges/UFCS for functional style programming.
  • OpenGL tutorials - OpenGL tutorials in D.

Bare metal / kernel development

Blogs

D related blogs.

  • blog.dlang.org - Official blog.
  • /r/d_language on Reddit - A feed of news and blog posts about D.
  • This week in D - A weekly overview of activity in the D community and brief advice columns to help you get the most out of the D Programming Language.
  • Planet D - A repository of co-authored D-specific blogs maintained by Vladimir Panteleev.
  • D Idioms - A great blog for many useful idioms with D programming.
  • GTK-D coding - Simple examples of how to use GtkD to build GUI applications.

Articles

D related Aritcles.

Package Management

Libraries for package and dependency management.

  • code.dlang.org - Official D library repository. Backed by dub.
  • dub - Official package and build management system for D.

Compilers

Compile software from source code.

  • dmd - The reference compiler for the D programming language. Stable, builds insanely fast, very good for learning and rapid prototyping/development. Currently the frontend is implemented in D, and shared between dmd, ldc and gdc, the backend is implemented in C++.
  • ldc - The LLVM-based D compiler. Uses the DMD frontend and LLVM backend. Builds slower than dmd, but generates more optimized code than DMD. It supports all the target platforms of LLVM.
  • gdc - GNU D Compiler. Use DMD frontend and GCC backend. Currently targets the most platforms due to the use of GCC. Generated code runs faster than DMD in most cases, on par with LDC. In the process of integration with the official GCC toolchain.
  • sdc - The Stupid D Compiler. Written in D. Grows Smarter every day.
  • dil - A compiler for the D programming language. Written in D.

Build Tools

Manage projects and compile software from source code.

  • dub - De facto official package and build management system for D. Will be included officially soon.
  • scons-d - Scons has built-in support for building D projects, thanks to Russel Winder.
  • premake - Premake has built-in support for D projects
  • reggae - meta build system in D
  • Makefile - Makefile template for D projects
  • cmake-d - CMake D Projects
  • cook2 - Fast incremental build tool intended for projects in D
  • button - A universal build system to build your software at the push of a button.
  • wild - Wild build system, used to build the PowerNex kernel

IDE

Integrated Development Environment.

  • Mono-D - A D language addon for Xamarin Studio/MonoDevelop. With dub support.
  • Visual D - Visual Studio extension for the D programming language.
  • DDT - Eclipse plugin for the D programming language.
  • DCD - Independent auto-complete program for the D programming language. Could be used with editors like vim, emacs, sublime text, textadept, and zeus. See editors support.
  • Coedit - IDE for the D programming language, its compilers, tools and libraries.
  • Dlang IDE - D language IDE based on DlangUI. This is a pure D implementation.

Lexers, Parsers, Parser Generators

  • libdparse - A D language lexer and parser, (possibly) future standard D parser/lexer.
  • Martin Nowak's Lexer - A lexer generator.
  • Mono-D's DParser - A D parser written in C# and used in Mono-D.
  • Pegged - A Parsing Expression Grammar (PEG) module written in D.
  • Goldie - Goldie Parsing System.
  • ctpg - Compile-Time Parser (with converter) Generator written in D.
  • dunnart - LALR(1) Parser Generator written in D.

Preprocesors

  • warp - A fast preprocessor for C and C++ used in Facebook infrastructure. Written by Walter Bright.

Javascript

  • higgs - Higgs JavaScript Virtual Machine, implemented in D.

Basic

  • hunt - A refined core library for D programming language. The module has concurrency / collection / event / io / logging / text / serialize and more.
  • hunt-time - A time library and similar to Joda-time and Java.time api.
  • hunt-validation - A data validation library for DLang based on hunt library.

Containers

  • memutils - Overhead allocators, allocator-aware containers and lifetime management for D objects
  • dlib.container - generic data structures (GC-free dynamic and associative arrays and more)
  • std.rcstring - A reference counted string implementation for D's build in string construct

Web Frameworks

Networking library

  • hunt-net - High-performance network library for D programming language, event-driven asynchonous implemention(IOCP / kqueue / epoll).
  • hunt-http - HTTP/1 and HTTP/2 protocol library for D.
  • hunt-stomp - STOMP for websocket protocol library implement in D.
  • libasync - Cross-platform event loop library of asynchronous objects
  • libhttp2 - HTTP/2 library in D, translated from nghttp2
  • collie - An asynchronous event-driven network framework written in dlang, like netty framework in D.

Full stack web frameworks.

  • Hunt Framework - Hunt is a high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily.
  • vibe.d - Asynchronous I/O Web Framework that doesn’t get in your way, written in D.
  • arsd - Adam D. Ruppe's web framework.
  • cmsed - A component library for Vibe that functions as a CMS.
  • Diamond - Full-stack web-framework based on vibe.d, targetting enterprise development and high-performance web solutions for both small and big projects.

RPC library

  • grpc - Grpc for D programming language, hunt-http library based.
  • kissrpc - Fast and light, flatbuffers based rpc framework.
  • Hprose - A very newbility RPC Library for D, and it support 25+ languages now.

Gossip

  • hunt-gossip - A Apache V2 gossip protocol implementation for D programming language.

Cache

  • hunt-cache - D language universal cache library, using radix, redis and memcached.

Data serialization

Json, XML, protobuf and other data serialization libs.

Binary Serilization

  • flatbuffers - D Programming Language implementation of the google flatbuffers library.
  • cerealed - Serialisation library for D
  • dproto - Google Protocol Buffer support in D.

JSON

  • vibe.data.json - JSON functions in Vibe.d. Currently the best implementation I used.
  • fast.json - A library for D that aims to provide the fastest possible implementation of some every day routines.
  • std.json - D's standard library JSON module. Needs refinement.
  • painlessjson - Convert between D types and std.json.
  • std.data.json - Phobos candidate for JSON serialization (based on Vibed)
  • asdf - Cache oriented string based JSON representation for fast read & writes and serialisatoin.

XML

  • orange - General purpose serializer (currently only supports XML)
  • std.experimental.xml - Phobos candidate for a XML serialization
  • [dom.d] - an xml/html DOM based on what Javascript provides in browsers

Database clients

Clients and bindings to C bliencts for relational and nosql databases.

  • hunt-entity - Hunt entity is an object-relational mapping tool for the D programming language. Referring to the design idea of JPA, support PostgreSQL / MySQL / SQLite.
  • hunt-database - Hunt database abstraction layer for D programing language, support PostgreSQL / MySQL / SQLite.
  • vibe.d - Vibe.d has internal support for Redis and MongoDB, which are very stable. Soon, the database drivers will be separated into independent projects.
  • mysql-native - A MySQL client implemented in native D.
  • ddb - Database access for D2. Currently only supports PostgreSQL.
  • arsd - Adam D. Ruppe's library; in addition to a Web backend, it also has support for database access with database.d, sqlite.d, mysql.d and postgres.d.
  • ddbc - DDBC is a DB Connector for D language (similar to JDBC). HibernateD (see below) uses ddbc for database abstraction.
  • hibernated - HibernateD is an ORM for D (similar to Hibernate).
  • dvorm - An ORM for D with Vibe support. Works with vibe.d and mysql-d, giving it the ability to access MongoDB and MySQL.
  • Tiny Redis - Redis driver for D. Fast, Simple, Stable. Has no dependencies.

Command Line

  • hunt-console - Hunt console creation easier to create powerful command-line applications.
  • tilix - A tiling terminal emulator for Linux using GTK+ 3.
  • scriptlike - Utility library to aid writing script-like programs in D.
  • todod - Todod is a command line based todo list manager. It also has support for shell interaction based on linenoise.
  • d-colorize - A port of the ruby library colorize. It add some methods to set color, background color and text effect on console easier using ANSI escape sequences.
  • terminal.d - Part of Adam Ruppe's arsd library supporting cursor and color manipulation on the console.
  • dexpect - A D implementation of the expect framework. Handy for bash emulation.
  • Argon - A processor for command-line arguments, an alternative to Getopt, written in D.
  • argsd - A command line and config file parser for DLang
  • darg - Robust command line argument parsing for D.

GUI Libs

Libraries for working with graphical user interface applications.

  • DLangUI - Cross Platform GUI for D programming language. My personal favorate, because it is written in D(not a binding), and is cross platform. DLangUI also has a good showcase in the IDE DLangIDE.
  • GtkD - GtkD is a D binding and OO wrapper of GTK+. GtkD is actively maintained and is currently the most stable GUI lib for D.
  • DWT - A library for creating cross-platform GUI applications. GWT is a port of the Java SWT library to D. DWT was promoted as a semi-standard GUI library for D, but unfortunately didn't catch up popularity yet.
  • tkD - GUI toolkit for the D programming language based on Tcl/Tk.
  • dqml - Qt Qml bindings for the D programming language.
  • Sciter-Dport - D bindings for the Sciter - crossplatform HTML/CSS/script desktop UI toolkit.
  • LibUI - Dynamic Binding for libui

Note: You can also find a list of GUI libs on wiki.dlang.org, but not all of the libraries are actively maintained now.

OS

Operating Systems written in D

  • PowerNex - A kernel written in D
  • Trinix - Hybrid operating system for x64 PC written in D
  • XOmB - An exokernel operating system written in D

Game Bindings

Bindings to game development related C libraries.

  • DerelictOrg - A GitHub organization hosting all Derelict bindings including:
    • OpenGL 3 (DerelictGL3),
    • Bgfx (DerelictBgfx),
    • ENet (DerelictENet),
    • SDL 2 (DerelictSDL2),
    • GLFW 3 (DerelictGLFW3),
    • OpenGLES (DerelictGLES),
    • Free Image (DerelictFI),
    • Assimp3 (DerelictASSIMP3),
    • libtheora (DerelictTheora),
    • libogg (DerelictOgg),
    • libvorbis (DerelictVorbis),
    • SFML 2 (DerelictSFML2),
    • libpq (DerelictPQ),
    • PhysicsFS (DerelictPHYSFS),
    • Open Dynamics Engine (DerelictODE),
    • Lua (DerelictLua),
    • DevIL (DerelictIL),
    • OpenAL (DerelictAL),
    • ALURE (DerelictALURE).

Game Frameworks

Games

Video applications

  • DerelictGL3 - A dynamic binding to OpenGL for the D Programming Language.

Image Processing

  • ArmageddonEngine - Vladimir Panteleev's ae library has a package for image processing in functional style, which is described in the article Functional Image Processing in D.
  • Blogsort - A simple Windows app for viewing photos and preparing them for a blog.
  • dlib.image - image processing (8 and 16 bits per channel, floating point operations, filtering, FFT, HDRI, graphics formats support including JPEG and PNG)
  • color.d + bmp.d, jpg.d, png.d - basic color struct, HSL functions and reading and writing image files

End-user applications

  • Drill - Search files without indexing, but clever crawling

Machine Learning

  • vectorflow - Nexflix's opensource deep learning framework.

Parallel computing

Scientific

Scientific programming

  • scid - Scientific library for the D programming language
  • dstats - A statistics library for D.
  • mir - Sandbox for some mir packages: sparse tensors, Hoffman and others.
  • mir-algorithm - N-dimensional arrays (matrixes, tensors), algorithms, general purpose library.
  • mir-random - Advanced Random Number Generators.
  • decimals - Decimal library for D.

Text Processing

  • hunt-markdown - A markdown parsing and rendering library for D programming language. Support commonMark.
  • eBay's TSV utilities - Filtering, statistics, sampling, joins and other operations on TSV files. Very fast, especially good for large datasets.

Logging

Print with care.

Configuration

Parsing configuration files

  • sdlang - An SDL (Simple Declarative Language) library for D.
  • D:YAML - YAML parser and emitter for the D programming language.
  • inifile-D - A compile time ini file parser and writter generator for D

Blog Engine

Hosting blogs yourself

  • mood - simple vibe.d based blog engine

Testing

  • dunit - Advanced unit testing & mocking toolkit
  • unit-threaded - Multi-threaded unit test framework

Other Awesome Lists

Other amazingly awesome lists can be found in the awesome-awesome and awesome-awesomeness projects.

About

A curated list of awesome D documents, frameworks, libraries and software. Inspired by awesome-python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • D 100.0%