SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C Simulation Projects
-
acados
Fast and embedded solvers for nonlinear optimal control and nonlinear model predictive control
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Dungeon KeeperFX 1.4.0 with Multiplayer Released | news.ycombinator.com | 2026-07-05
The "Further Improvements" section on the README mentions "Native cross-platform support": https://github.com/dkfans/keeperfx
It seems like it currently runs pretty well under Wine though.
-
space-nerds-in-space
Multi-player spaceship bridge simulator game. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space
-
-
-
-
-
ChameleonMini
The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was first developed by KAOS. This is NOT the official repo for KAOS's ChameleonMini. For further information see the Getting Started Page (by RfidResearchGroup)
-
Project mention: Show HN: Markov Chains for Programmers – free book (2nd ed.) with C code | news.ycombinator.com | 2026-10-14
-
cbirds
A flock of birds in your terminal: Craig Reynolds' boids, in braille in any terminal and as sprites in Kitty and Ghostty. One C99 program, no dependencies. Linux and macOS (by clainstone)
-
robots
Collection of quadrupedal robots configured to work in CHAMP development framework (by chvmp)
-
-
-
SWIFT
Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim (by SWIFTSIM)
-
-
goma
Finite Element Program for free surfaces problems, species transport, energy transport, non-Newtonian flow, viscoelastic flow, and more. (by goma)
-
-
McCode
The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.
-
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.
Project mention: Show HN: C discrete event SIM w stackful coroutines runs 45x faster than SimPy | news.ycombinator.com | 2026-02-03It is an assembly function that does not get called from anywhere. I pre-load the stack image with its intended register content from C, ending with the trampoline function address as the "return address". On the first transfer to the newly created coroutine, that gets loaded, which in turn calls the coroutine function that suddenly is in its argument register along with its arguments. If the coroutine function ever returns, that just continues the trampoline function, which proceeds to call the coroutine_exit() function, whose addres also just happened to be stored in a handy register.
https://github.com/ambonvik/cimba/blob/main/src/port/x86-64/...
-
-
apesdk
The aim of this artificial life simulation is to create a detailed biological environment and a cognitive simulation.
Project mention: Thirty Years My Open Source Project: The ApeSDK/Noble Ape | news.ycombinator.com | 2026-06-13Lots of history. Lots of experiences. Continuous development.
https://apesdk.com/doc/
Returned to GitHub after years on GitLab.
https://github.com/barbalet/apesdk
If you are interested in the philosophy of the current source.
https://github.com/barbalet/apesdk/tree/master/book
Enjoy.
-
-
alife
A project to share on artificial life(Alife in short). It is essentially cellular automata but you could find also L-systems, swarm intelligence, physic simulations, etc.
C Simulation discussion
C Simulation related posts
-
Show HN: Markov Chains for Programmers – free book (2nd ed.) with C code
-
Using a 1978 terminal in 2026 (DEC VT-100)
-
Is it feasible to build an ESP32 emulator in JavaScript?
-
Show HN: TinyCity – A tiny city SIM for MicroPython (Thumby micro console)
-
Run ancient Unix on modern hardware
-
Real VT102 Emulation with MAME
-
Markov chains are funnier than LLMs
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 Nov 2026
Index
What are some of the best open-source Simulation projects in C? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | acados | 1,518 |
| 2 | keeperfx | 1,039 |
| 3 | space-nerds-in-space | 783 |
| 4 | libmesh | 762 |
| 5 | lavat | 630 |
| 6 | Physac | 612 |
| 7 | webots_ros2 | 549 |
| 8 | ChameleonMini | 439 |
| 9 | markov | 293 |
| 10 | cbirds | 292 |
| 11 | robots | 274 |
| 12 | siconos | 188 |
| 13 | terminal-simulator | 170 |
| 14 | SWIFT | 163 |
| 15 | SENPAI | 137 |
| 16 | goma | 126 |
| 17 | dopewars | 119 |
| 18 | McCode | 99 |
| 19 | cimba | 77 |
| 20 | pdp6 | 69 |
| 21 | apesdk | 58 |
| 22 | boeing-777 | 50 |
| 23 | alife | 32 |