Skip to content

Releases: xtellect/cactus

v0.1.0 — First public release

25 Mar 21:08

Choose a tag to compare

Work-stealing parallel recursion runtime for C (Linux x86-64, GCC/Clang).

  • Fork-join parallelism via BEGIN/FORK/JOIN/END macros
  • Automatic load balancing with random-victim work stealing
  • Per-worker deques with continuation-passing (child-first execution)
  • 2 MB recycled stack slabs for stolen continuations
  • Supports up to 16 arguments per FORK call
  • Four benchmark/test programs: fib, nqueens, matmul, quicksort

Requires: Linux x86-64, GCC or Clang with C11 support, pthreads.