Write your own kernel optimiser

speckx 42 points 3 comments November 10, 2026
blog.csongor.co.uk · View on Hacker News

Discussion Highlights (2 comments)

oinoom

im surprised there is no mention of loop fusion or loop fission [1] [1] https://en.wikipedia.org/wiki/Loop_fission_and_fusion

jagged-chisel

> This is where abstractions break down. When the compiler gives up on something written with a nice Python library, we end up writing custom kernels, intrinsics, and inline assembly. I don’t get it. What’s the python lib got to do with anything?

Semantic search powered by Rivestack pgvector
3,874 stories · 35,194 chunks indexed