A diagram of attention computation

Build a FlashAttention Kernel with Online Softmax and KV Cache in Pure Python

This post walks through building a pure-Python FlashAttention kernel with online softmax and KV cache, showing how to squeeze latency out of transformer inference.

November 1, 2026 · 8 min · 1503 words · martinuke0
Abstract illustration of WebAssembly compilation pipeline

Deep Dive into WebAssembly Compilation: Wasmtime's Cranelift Backend

An in-depth look at Cranelift’s role in Wasmtime, its compilation stages, and how it delivers fast, safe native execution.

November 1, 2026 · 4 min · 710 words · martinuke0
Illustration of code counting words in a text stream

Implementing Word Count in Production Systems

Word count seems simple, but production implementations reveal subtle complexities around encoding, locale, performance at scale, and integration with data pipelines.

November 1, 2026 · 7 min · 1324 words · martinuke0
Python code on a dark background with a neural network diagram

Pure‑Python GGUF Parser for Portfolio CV

A lightweight parser that reads GGUF model weights with lazy memory‑mapped access, perfect for side‑project portfolios.

October 31, 2026 · 9 min · 1844 words · martinuke0
A close‑up of Python code on a laptop screen, symbolising a custom tokenizer project.

Byte‑Level BPE Tokenizer from Scratch: A Hands‑On Build Guide

A step‑by‑step guide to implementing a fast, memory‑efficient BPE tokenizer in pure Python, with production‑ready patterns.

October 31, 2026 · 10 min · 1946 words · martinuke0
Feedback