dcore ~main

Low level general-purpose 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:

dcore

Low level general-purpose library for D language. Partial successor of dlib 1.x and a future base for dlib 2.0.

  • betterC compliant
  • Independent from Phobos for core functionality. Uses only betterC parts of Phobos, like std.traits and system APIs
  • Will become a minimal standard library: include standard I/O, math, data manipulation, etc.
  • As much as possible support for bare metal/WebAssembly/ARM
  • Extensive unit testing

Progress

  • [ ] dcore.stdio - standard C I/O for platforms that support it
  • [ ] dcore.stdlib - malloc/free for platforms that support it
  • [ ] dcore.math - highly portable math functions, using hardware optimizations where possible
  • [x] dcore.random - presudo-random number generator based on C rand
  • [x] dcore.sys - retrieve system information
  • [ ] dcore.process - cross-platform process API
  • [x] dcore.time - cross-platform date and time API
  • [ ] dcore.thread - cross-platform multithreading API
  • [x] dcore.mutex - cross-platform thread synchronization primitive
  • [ ] dcore.linker - cross-platform dynamic library linker
  • [ ] dcore.text - string processing, UTF-8 decoder

License

Copyright (c) 2025 Timur Gafarov. Distributed under the Boost Software License, Version 1.0 (see accompanying file COPYING or at https://www.boost.org/LICENSE10.txt).

Authors:
  • Timur Gafarov
Dependencies:
none
Versions:
0.0.1-alpha.1 2025-Mar-10
~main 2025-Mar-11
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.3
Short URL:
dcore.dub.pm