Coroutines in C, intuitively
2026-06-09How to pause a function in the middle and resume it later — using nothing but a switch statement and __LINE__. An intuitive tour of Simon Tatham's classic trick, with a step-through animation.
7 min · c · coroutines · systems · explainer
How self-attention works in transformers
2026-06-02A from-scratch explainer of scaled dot-product attention — queries, keys, values, the softmax, and why the √d scaling matters.
3 min · transformers · deep-learning · explainer