Hacker News new | past | comments | ask | show | jobs | submit login

Folks interested in this might also enjoy my hands-on blog series about compiler optimizations: 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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: