dlib 0.20.0

D language utility library


To use this package, run the following command in your project's root directory:

<img align="left" alt="dlib logo" src="https://github.com/gecko0307/dlib/raw/master/logo/dlib-logo.png" height="66" />

dlib is a high-level general purpose library for D language intended to game engine developers. It provides basic building blocks for writing graphics-intensive applications: containers, data streams, linear algebra and image decoders.

dlib has no external dependencies aside D's standard library. dlib is created and maintained by Timur Gafarov.

Travis Build Status AppVeyor Build Status DUB Package DUB Downloads License Codecov Gitter Patreon button

If you like dlib, please support its development on Patreon or Liberapay. You can also make one-time donation via PayPal. Thanks in advance!

Important: if you want to use dlib on macOS then, please, first read the manifesto.

What's inside

Currently dlib consists of the following packages:

  • dlib.core - basic functionality used by other modules (memory management, streams, threads, 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.math - linear algebra and numerical analysis (vectors, matrices, quaternions, linear system solvers, interpolation functions, etc.)
  • dlib.geometry - computational geometry (ray casting, primitives, intersection, etc.)
  • dlib.image - image processing (8-bit, 16-bit and 32-bit floating point channels, common filters and convolution kernels, resizing, FFT, HDRI, animation, graphics formats I/O: JPEG, PNG/APNG, BMP, TGA, HDR)
  • dlib.audio - sound processing (8 and 16 bits per sample, synthesizers, WAV export and import)
  • dlib.network - networking and web functionality
  • dlib.memory - memory allocators
  • dlib.text - text processing, GC-free strings, Unicode decoding and encoding
  • dlib.serialization - data serialization (XML and JSON parsers)
  • dlib.coding - various data compression and coding algorithms
  • dlib.concurrency - a thread pool.

Supported Compilers

dlib is automatically tested for compatibility with latest two releases of DMD and LDC. Older releases formally are not supported, but in practice usually are, to some extent. There's no guaranteed support for GDC and other D compilers.

Documentation

There are ddox documentation generated from source code (dub build --build=ddox) and GitHub wiki. Be aware that documentation is currently incomplete. I'm running a Patreon campaign to reach $100 funding per month - help me get there to finish the documentation.

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

License

Copyright (c) 2011-2020 Timur Gafarov, Martin Cejp, Andrey Penechko, Vadim Lopatin, Nick Papanastasiou, Oleg Baharev, Roman Chistokhodov, Eugene Wissner, Roman Vlasov, Basile Burg, Valeriy Fedotov, Ferhat Kurtulmuş. Distributed under the Boost Software License, Version 1.0 (see accompanying file COPYING or at http://www.boost.org/LICENSE10.txt).

Sponsors

Rafał Ziemniewski, Kumar Sookram, Aleksandr Kovalev, Robert Georges, Jan Jurzitza (WebFreak), Rais Safiullin (SARFEX), Koichi Takio.

Users

  • Dagon - 3D game engine for D
  • dmech - physics engine
  • Atrium - work-in-progress first person puzzle game
  • DlangUI - native UI toolkit for D
  • rengfx - game engine based on raylib
  • Voxelman - voxel-based game engine
  • Laser Patriarch - Ludum Dare 36 participant, a rougelike with random maps
  • Anchovy - multimedia library for games and graphics apps
  • RIP - image processing and analysis library by LightHouse Software
  • GeneticAlgorithm - genetic algorithms library
  • Orb - a game/engine with procedural content
  • Leptbag - physics simulator by Gamma-Lab. Written in C++, but supports D plugins
  • aoynthesizer - sound synthesizer based on Lisp-like scripting language
  • D-VXLMapPreview - isometric preview generator for Ace of Spades and Iceball maps
  • dlib-webp - WebP image format decoder based on libwebp
  • SMSFontConverter - a program for generating Sega Master System fonts.

If you use dlib, please tell me by email (gecko0307@gmail.com), and I'll add your link to the list.

Authors:
  • Timur Gafarov
  • Martin Cejp
  • Andrey Penechko
  • Vadim Lopatin
  • Nick Papanastasiou
  • Oleg Baharev
  • Roman Chistokhodov
  • Eugene Wissner
  • Roman Vlasov
  • Basile Burg
  • Valeriy Fedotov
  • Ferhat Kurtulmuş
Dependencies:
none
Versions:
0.20.0 2020-Oct-16
0.20.0-beta1 2020-Oct-10
0.19.2 2020-Aug-26
0.19.1 2020-Jul-24
0.19.0 2020-May-31
Show all 64 versions
Download Stats:
  • 50 downloads today

  • 231 downloads this week

  • 1159 downloads this month

  • 31891 downloads total

Score:
4.8
Short URL:
dlib.dub.pm