Hacker News
Show HN: C discrete event SIM w stackful coroutines runs 45x faster than SimPy
Cimba, a C discrete event simulation library, uses POSIX pthread multithreading and stackful coroutines for parallel execution. It runs 45x faster than SimPy, reducing running time by 97.8%. Cimba's speed is due to efficient coroutines and optimized components like hash-heap event queues.