nulib 0.4.0

Portable standard library for DLang


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:


This package provides sub packages which can be used individually:

nulib:system - NuLib System submodule

nulib:io - NuLib IO submodule

nulib:threading - Threading support for nulib

<p align="center"> <img src="nulib.png" alt="NuMem" style="width: 50%; max-width: 512px; height: auto;"> </p>

NuLib

Unit Tests

NuLib is an alternative standard library for the D Programming Language, this standard library focuses on allowing use of high level D constructs without a garbage collector. Additionally these constructs try but are not guaranteed to work with phobos constructs to some extent.

In practice this allows you to write mixed GC and no-gc code depending on your needs at any given time, with nulib building ontop of numem for portability. Additionally nulib can be used with nurt to go fully no-gc; with the alternate runtime providing the core required hooks for many D language features.

Packages

The following packages/modules are provided by NuLib.

PackageModuleDescriptionSupported Platforms
nulibnulibCore NuLib libraryAll
nulib:ionulib.ioFile and Network IO🪟🍎🐧
nulib:systemnulib.systemSystem Integration🪟🍎🐧
nulib:threadingnulib.threadingThreading and synchronisation primitives🪟🍎🐧

Why NuLib?

D is an amazing language which bridges both high and low level programming, however with how D's runtime is constructed, it can be difficult to use DLang outside of its own ecosystem; namely because its runtime and garbage collector makes cross-language interopability difficult.

The Nu series of libraries aim to fill this gap by both providing tools for users of libphobos and the D ecosystem, and also providing tools for developers who wish to write libraries used from outside of D.

     

Authors:
  • Luna
Sub packages:
nulib:system, nulib:io, nulib:threading
Dependencies:
numem
Versions:
0.4.0 2026-Jun-11
0.3.12 2026-Jan-28
0.3.11 2025-Dec-19
0.3.10 2025-Dec-17
0.3.9 2025-Dec-14
Show all 22 versions
Download Stats:
  • 13 downloads today

  • 124 downloads this week

  • 577 downloads this month

  • 8625 downloads total

Score:
3.2
Short URL:
nulib.dub.pm