Zig

ForkUnion for Zig

zig fetch --save=forkunion https://github.com/ashvardanian/ForkUnion/archive/refs/tags/v4.0.0-rc.1.tar.gz 4.0.0-rc.1 · d927445f

Topics

Quickstart48ForkUnion is dead-simple to use!
Topology37A machine is described along two independent axes.
NUMA29Placing memory on a chosen domain is implemented on Linux via the mbind syscall, on FreeBSD via domainset policies, and on Windows via VirtualAllocExNuma, and degrades to a single domain elsewhere.
Busy Waiting
Parallel Iterators1For Rayon-style ergonomics, use the parallel iterator API with the prelude.