02 May 25

A fun read describing an important (and seemingly inherent) difficulty of compiler optimization. E-graphs get around this, but IIRC are significantly slower.

by bal4e 9 months ago saved 3 times

30 Apr 25

A really interesting discussion of array-oriented compilation architectures. Tries to answer the same sorts of questions I’ve been asking myself about making compilers faster – although I think I come to different conclusions right now.

by bal4e 9 months ago

21 Apr 25

For me, fills a hole between APL (high-performance CPU/GPU array manipulation) and Rust (strong type checking). Super interesting stuff.

by bal4e 9 months ago saved 2 times

20 Apr 25

I’ve been looking for a good replacement to SSA form for mid-level and low-level optimisations. This feels like the right direction forward, but I need to try it myself before I’m convinced.

by bal4e 9 months ago

Discussion of super-optimization based on equality graphs and finding equivalent expressions. Contrast with https://egraphs-good.github.io/.

by bal4e 9 months ago saved 2 times