joka 0.0.20
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 simple 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.
Data Structures
- [x] Dynamic Array (
List
) - [x] Dynamic Stack Array (
FixedList
) - [x] Sparse Array (
SparseList
) - [x] Generational Array (
GenerationalList
) - [x] Flattened 2D Array (
Grid
) - [x] Tagged Union (
Variant
) - [ ] Hash Table
- [ ] Arena Allocator
Attributes and BetterC Support
This project offers support for the @safe
attribute and aims for good compatibility with BetterC.
If you encounter errors with BetterC, try using the -i
flag.
Web Support
This project can be compiled to WebAssembly as it doesn't use the D standard library. However, since it relies on the C standard library, you will need something like Emscripten to make it work.
Documentation
Start with the examples folder for a quick overview.
- Registered by Alexandros F. G. Kapretsos
- 0.0.20 released 21 days ago
- Kapendev/joka
- MIT
- Copyright © 2024, Alexandros F. G. Kapretsos
- Authors:
- 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 - Download Stats:
-
-
3 downloads today
-
4 downloads this week
-
14 downloads this month
-
175 downloads total
-
- Score:
- 1.1
- Short URL:
- joka.dub.pm