New language Cachet exposes hardware decisions in compiler optimisation
A developer is building Cachet, a language designed to make low-level performance decisions—such as cache placement, data movement between memory levels, and available hardware instructions—explicit parts of the source code rather than hidden compiler or hand-tuning choices. In Cachet, programmers separate what to compute from how to compute it, applying a sequence of transformations (a schedule) that the compiler verifies preserve the program's meaning.
GoKawiil's interpretation of the reporting above, not reported fact.
By surfacing assumptions that are normally buried in compiler heuristics or scattered in code comments, Cachet could let developers catch broken optimisation assumptions as compile errors instead of silent performance regressions. This suggests a middle path between fully automatic compiler optimisation and fragile hand-written kernels, potentially easing maintenance of performance-critical code as it evolves.
- Cachet makes hardware-level decisions like cache placement and data movement explicit in the language itself.
- Programs are split into a 'what to compute' specification and a 'how to compute it' schedule of transformations.
- The compiler checks that each transformation preserves program meaning, turning broken assumptions into compile errors.
Source: blog.csongor.co.uk — Csongor Kiss, 2026-11-10
Published there as: “Write your own kernel optimiser”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.