Matt Godbolt, the creator of Compiler Explorer is posting a series about code optimisations in compilers:
The first two posts are already interesting and short.
This is probably not that relevant for the Crystal compiler directly, because we thankfully hand off these kinds of optimizations to LLVM. But it’s still nice to learn a bit about what is going on there…