Skip to content

Inochi2D/nulib

Repository files navigation

NuMem

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.

Package Module Description Supported Platforms
nulib nulib Core NuLib library All
nulib:io nulib.io File and Network IO 🪟🍎🐧
nulib:system nulib.system System Integration 🪟🍎🐧
nulib:threading nulib.threading Threading and synchronisation primitives 🪟🍎🐧
nulib:compression nulib.compression Compression 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.

 
 
 

About

Alternate standard library for D.

Topics

Resources

License

Stars

11 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors