nulib ~main

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:threading - NuLib Threading Primitives

nulib:system - NuLib System Integration

nulib:io - NuLib IO

nulib:compression - NuLib compression and decompression algorithms

nulib:compression.z - zlib for nulib:compression

<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🪟🍎🐧
nulib:compressionnulib.compressionCompression algorithms.🪟🍎🐧

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:threading, nulib:system, nulib:io, nulib:compression, nulib:compression.z
Dependencies:
nurt, numem
Versions:
0.4.7 2026-Jul-05
0.4.6 2026-Jul-04
0.4.5 2026-Jul-01
0.4.4 2026-Jul-01
0.4.3 2026-Jun-29
Show all 29 versions
Download Stats:
  • 13 downloads today

  • 154 downloads this week

  • 1230 downloads this month

  • 10050 downloads total

Score:
3.8
Short URL:
nulib.dub.pm