Cachet makes the compiler check your performance assumptions

Write your own kernel optimiser

Csongor Kiss built Cachet, a language where cache residency, data movement between memory levels, and available hardware instructions are explicit parts of the program. You write what to compute as a contraction, then a schedule of rewrites turns it into an optimised kernel, and the compiler verifies each step preserves meaning. Starting from a one-line matmul definition, he derives cache-blocked CPU and GPU kernels, benchmarking against OpenBLAS, Accelerate, and MLX.

When performance matters, I would rather not have a clever compiler. Instead, I want the compiler to be explicit.

More from this day

2026-11-15