Skip to content
/ joka Public

A simple nogc utility library for the D programming language.

License

Notifications You must be signed in to change notification settings

Kapendev/joka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Dynamic Array (List)
  • Dynamic Stack Array (FixedList)
  • Sparse Array (SparseList)
  • Generational Array (GenerationalList)
  • Flattened 2D Array (Grid)
  • 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.

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.

About

A simple nogc utility library for the D programming language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages