dlib 1.3.0-beta1

D language utility library


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

Manual usage
Put the following dependency into your project's dependences section:

<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 written in D language for game and graphics developers. It provides basic building blocks for writing real-time and multimedia 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.

GitHub Actions CI Status DUB Package DUB Downloads License Codecov Gitter

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

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.random - random number generation
  • dlib.coding - various data compression and coding algorithms
  • dlib.concurrency - a thread pool.

Supported Compilers

dlib is automatically tested for compatibility with latest 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

HTML documentation can be generated from source code using ddox (run dub build --build=docs && ddox generate-html docs.json docs) or Doxygen (run doxygen). Be aware that documentation is currently incomplete.

License

Copyright (c) 2011-2024 Timur Gafarov, Martin Cejp, Andrey Penechko, Vadim Lopatin, Nick Papanastasiou, Oleg Baharev, Roman Chistokhodov, Eugene Wissner, Roman Vlasov, Basile Burg, Valeriy Fedotov, Ferhat Kurtulmuş, João Lourenço, Ate Eskola, Aaron Nédélec, Alexander Perfilyev. Distributed under the Boost Software License, Version 1.0 (see accompanying file COPYING or at https://www.boost.org/LICENSE10.txt).

Sponsors

Jan Jurzitza (WebFreak), Daniel Laburthe, Rafał Ziemniewski, Kumar Sookram, Aleksandr Kovalev, Robert Georges, Rais Safiullin (SARFEX), Benas Cernevicius, Koichi Takio, Konstantin Menshikov.

Users

  • Dagon - 3D game engine for D
  • Electronvolt - work-in-progress first person puzzle game
  • DagoBan - Sokoban clone
  • DlangUI - native UI toolkit for D
  • rengfx - game engine based on raylib
  • Voxelman - voxel-based game engine
  • 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
  • SMSFontConverter - a program for generating Sega Master System fonts
  • sacengine - engine reimplementation for the game Sacrifice
  • Shaders Playground - a sandbox project for experimenting with OpenGL shaders
  • wgpu-dlang - WebGPU usage example.
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:
1.3.0 2024-Feb-21
1.3.0-beta1 2024-Feb-14
1.2.1 2023-Aug-30
1.2.0 2023-Apr-30
1.2.0-beta1 2023-Apr-19
Show all 81 versions
Download Stats:
  • 3 downloads today

  • 66 downloads this week

  • 361 downloads this month

  • 86924 downloads total

Score:
4.8
Short URL:
dlib.dub.pm