3 ms·
Folks interested in this might also enjoy my hands-on blog series about compiler optimizations: https://predr.ag/blog/compiler-adventures-part1-no-op-instructio
by obi1kenobi 4y ago
Folks interested in this might also enjoy my hands-on blog series about compiler optimizations: https://predr.ag/blog/compiler-adventures-part1-no-op-instructions/ https://predr.ag/blog/compiler-adventures-part1-no-op-instru...
It shows the process of building an optimizing compiler for the MONAD language from last year's Advent of Code. It covers topics like:
- no-op elimination (episode 1)
- constant propagation (episode 2)
- value numbering (episode 3)
- value range analysis (episode 4, coming out ~next week)