joka ~main

A simple nogc utility library for the D programming language.


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:

Joka

Joka is a nogc utility library for the D programming language. It provides data structures and functions that work without garbage collection, offering precise memory control and minimal runtime overhead.

Modules

  • joka.ascii: ASCII string utilities
  • joka.containers: Heap-allocated data structures
  • joka.io: Input and output functions
  • joka.math: Mathematical data structures and functions
  • joka.types: Type definitions and compile-time utilities

Data Structures

  • Dynamic Array: List
  • Flattened 2D Array: Grid
  • Arena Allocator: Arena
  • ...and more!

WebAssembly

This project supports WebAssembly with BetterC, but you'll need something like Emscripten to make it work. If you encounter errors with BetterC, try using the -i flag.

Questions

Why nogc?

Because I can do manual memory management.

Why are you not using X feature?

Because I prefer to support older compilers and keep my code C-like.

Why are you not using X library?

Because I like code that looks like C, whereas most people write code that looks like C++. And compile times. Joka compiles blazingly fast compared to similar libraries!

Authors:
  • Alexandros F. G. Kapretsos
Dependencies:
none
Versions:
0.0.20 2025-Feb-18
0.0.19 2025-Jan-27
0.0.18 2025-Jan-23
0.0.17 2025-Jan-16
0.0.16 2025-Jan-04
Show all 21 versions
Download Stats:
  • 1 downloads today

  • 6 downloads this week

  • 14 downloads this month

  • 177 downloads total

Score:
1.1
Short URL:
joka.dub.pm