ambonvik/cimba
A multithreaded discrete event simulation library in C, using POSIX pthreads for parallelized trials and replications, stackful asymmetric coroutines for concurrent simulated processes inside each thread, and optionally CUDA or other GP GPU parallelism for detailed model physics inside each coroutine.
69 best points · 18 comments · 1 Hacker News post · 77 GitHub stars · View on GitHub
Hacker News discussions
- Show HN: C discrete event SIM w stackful coroutines runs 45x faster than SimPy (69 points, 18 comments, by ambonvik, 2026-02-03)