SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C Machine Learning Projects
-
C
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Compare your implementation to Nmap's source code - industry standard for 20+ years.
-
kimi-k3-in-c
A 2.78-trillion-parameter Kimi K3 running inference on a single CPU in 8.24 GB of RAM. Portable C99: no BLAS, no framework, no GPU.
Project mention: Kimi K3 in 8 GB of RAM: Why 28x More Memory Buys Only 1.7x Speed, and the Byte Math That Predicts It | dev.to | 2026-11-05Sources: kimi-k3-in-c repository and README, moonshotai/Kimi-K3 on Hugging Face. All timings, hit rates, memory figures and quantization errors are as reported by the project as of November 5, 2026. Predicted seconds per token, bytes per token and the trunk-quantization projection are our own illustrative arithmetic, not measurements.
-
-
libpostal
A C library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.
OpenGeocoding is one Rust process. It parses an address with libpostal, looks it up in a read-only index and answers. There is no database, and nothing is downloaded at runtime: the index and the libpostal models are mounted read-only.
-
-
-
-
GRASS GIS formats map-region coordinates with a helper in lib/gis/wind_format.c:
-
-
RNNLIB
RNNLIB is a recurrent neural network library for sequence learning problems. Forked from Alex Graves work http://sourceforge.net/projects/rnnl/
-
microgpt-c
The most atomic way to train and inference a GPT in pure, dependency-free C (by vixhal-baraiya)
-
Project mention: ASCII characters are not pixels: a deep dive into ASCII rendering | news.ycombinator.com | 2026-01-17
-
magnetron
A zero-dependency ML framework in C with a modern Python API for full control over execution and memory.
-
-
Project mention: onnx2c VS emx-onnx-cgen - a user suggested alternative | libhunt.com/r/onnx2c | 2026-02-22
-
tevr-asr-tool
State-of-the-art (ranked #1 Aug 2022) German Speech Recognition in 284 lines of C++. This is a 100% private 100% offline 100% free CLI tool.
-
-
-
-
-
-
C Machine Learning discussion
C Machine Learning related posts
-
Show HN: PHP-GPU-tensors – Native GPU operations in PHP
-
onnx2c VS emx-onnx-cgen - a user suggested alternative
2 projects | 22 Feb 2026 -
Scripting Challenge Week 1: Port Scanning
-
Mark Zuckerberg freezes AI hiring amid bubble fears
-
Ask HN: What are your favorite obscure but brilliant C/C++ libraries?
-
guiarstr VS C - a user suggested alternative
2 projects | 24 Jul 2025 -
Libpostal: C library for parsing/normalizing street addresses around the world
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Nov 2026
Index
What are some of the best open-source Machine Learning projects in C? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | C | 22,606 |
| 2 | nmap | 14,000 |
| 3 | kimi-k3-in-c | 11,558 |
| 4 | lab | 7,383 |
| 5 | libpostal | 4,923 |
| 6 | audioFlux | 3,383 |
| 7 | Genann | 2,303 |
| 8 | osqp | 2,227 |
| 9 | grass | 1,187 |
| 10 | nnom | 1,167 |
| 11 | RNNLIB | 902 |
| 12 | microgpt-c | 853 |
| 13 | ascii_art | 738 |
| 14 | magnetron | 709 |
| 15 | ruby-fann | 506 |
| 16 | onnx2c | 425 |
| 17 | tevr-asr-tool | 410 |
| 18 | tiny-dream | 270 |
| 19 | Daikon | 269 |
| 20 | Recommender | 268 |
| 21 | kernel-ml | 260 |
| 22 | cONNXr | 219 |
| 23 | WritePadSDK | 185 |