Published October 2, 2026
| Version v3.0.4
Software
Open
ForkUnion: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig
Authors/Creators
Description
ForkUnion is a NUMA-aware fork-join thread-pool for systems languages, built for the tightest parallel-for loops rather than task queues. Its dispatch hot path makes no heap allocations, no system calls, and no compare-and-swap operations, and shares no cache line between workers, so fork-join latency stays flat as cores and sockets multiply. Idle workers park on a hardware address monitor where the processor offers one, waking the instant a peer writes the watched cache line, while per-domain memory placement and private per-worker cursors keep synchronization off the interconnect.
Notes
Files
ashvardanian/ForkUnion-v3.0.4.zip
Files
(363.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:4cae47c71f03054458280ef9cd493d9e
|
363.8 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/ashvardanian/ForkUnion/tree/v3.0.4 (URL)
Software
- Repository URL
- https://github.com/ashvardanian/ForkUnion