Projects

MLscratch

A neural net in C, no libraries

2026CautogradMNIST

A neural network library in C with nothing beyond the standard library and math.h. It's a small autograd engine: you build the network as a graph, it compiles to a topological order and runs forward and backward generically, with an arena allocator underneath. Trains a 3-layer MLP with a residual skip on MNIST to ~98% test accuracy, 13k parameters, no fused ops. The README derives every gradient by hand. Still the project I'm most attached to.

Source on GitHub