Math, XML, I/O streams, image and audio processing for D
D Python CSS Shell
Latest commit 6ed6c99 Jan 15, 2017 @gecko0307 committed on GitHub Merge pull request #130 from MrSmith33/master
Convert line endings and trim trailing whitespaces according to .editorconfig

Build Status



dlib is a growing collection of native D language libraries useful for various higher-level projects - such as game engines, rendering pipelines and multimedia applications. It is written in D2 and has no external dependencies aside D's standard library, Phobos.

Read more here.

Currently dlib contains the following packages:

  • dlib.async - event loop and asynchronous programming capabilities

  • dlib.core - basic functionality used by other modules (manual memory management, streams, OOP for structs, etc.)

  • dlib.container - generic data structures (GC-free dynamic and associative arrays and more)

  • dlib.filesystem - abstract FS interface and its implementations for Windows and POSIX filesystems

  • dlib.functional - some functional programming idioms (HOFs, combiners, quantifiers, etc.)

  • dlib.math - linear algebra and numerical analysis (vectors, matrices, quaternions, linear system solvers etc.)

  • dlib.geometry - computational geometry (ray casting, primitives, intersection, etc.)

  • dlib.image - image processing (8 and 16 bits per channel, floating point operations, filtering, FFT, HDRI, graphics formats I/O: JPEG, PNG, BMP, TGA, HDR)

  • - sound processing (8 and 16 bits per sample, synthesizers, WAV export and import)

  • - networking and web functionality

  • dlib.memory - allocators and memory management functions

  • dlib.text - text processing

  • dlib.serialization - data serialization (currently includes lightweight XML parser)

  • dlib.coding - various data compression and coding algorithms


Please, refer to the wiki. Also HTML documentation can be generated from wiki pages using this set of tools. Be aware that documentation is currently incomplete.

For support and overall discussions, use our Gitter chat room.


Copyright (c) 2011-2017 Timur Gafarov, Martin Cejp, Andrey Penechko, Vadim Lopatin, Nick Papanastasiou, Oleg Baharev, Roman Chistokhodov, Eugene Wissner. Distributed under the Boost Software License, Version 1.0 (see accompanying file COPYING or at