joka 0.0.7
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.
[!WARNING] This is alpha software. Use it only if you are very cool.
Data Structures
- [x] Dynamic Array (
List
) - [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 some attributes (@safe
, @nogc
, nothrow
) 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.
Note
I add things to Joka when I need them.
License
The project is released under the terms of the MIT License. Please refer to the LICENSE file.
- Registered by Alexandros F. G. Kapretsos
- 0.0.7 released 33 days ago
- Kapendev/joka
- MIT
- Copyright © 2024, Alexandros F. G. Kapretsos
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.10 2024-Sep-13 0.0.9 2024-Sep-11 0.0.8 2024-Sep-10 0.0.7 2024-Sep-03 0.0.6 2024-Aug-26 - Download Stats:
-
-
0 downloads today
-
3 downloads this week
-
7 downloads this month
-
55 downloads total
-
- Score:
- 0.8
- Short URL:
- joka.dub.pm