writing
reflections on software engineering, deep learning, and everything in between.
Building an LLM Inference Engine from Scratch
what it takes to actually serve model weights in production
read article
cuda sgemm on an rtx 3060
0 → 110% of cuBLAS on a consumer card.
read article
optimizing matmul on a ryzen 9950x
0->103% of openblas, featuring the latest avx512 instructions
read article
building a javascript interpreter from scratch
walking through how i built a javascript interpreter from scratch with a lexer, parser, and executor.
read article
building a neural net from scratch
training an mnist classifier in pure numpy, no tensorflow or pytorch, with a 1000x speedup from vectorization.
read article