7 ms·
I love this book! I worked through a bunch of it during my winter break last year and found the incremental teaching style extremely rewarding. For readers of t
by sanufar 1y ago
I love this book! I worked through a bunch of it during my winter break last year and found the incremental teaching style extremely rewarding. For readers of the book, Sandler’s reference OCaml implementation is super useful for getting your bearings. I was kind of thrown off by the use of TACKY as an IR, but it was nice to have a solid reference as I worked through the book. For those more experienced with compilers: what are some good resources for stuff like SSA and optimisation? I’ve looked at some of the resources here https://bernsteinbear.com/pl-resources/ https://bernsteinbear.com/pl-resources/ but are there other canonical resources?
- starkparker 1y ago> Sandler’s reference OCaml implementation is super useful for getting your bearings The author also maintains a list of implementations created from the book: https://github.com/nlsandler/c-compiler-implementations https://github.com/nlsandler/c-compiler-implementations
- sim7c00 1y agothe dragonbook is a good start to go deeper inthink (modern editions). its less practical, more theory heavy. does have all the algos and some example materials. if you have a bit of basis it will be useful reference.
- rootnod3 1y agoThere’s https://www.amazon.com/SSA_based-Compiler-Design/dp/303080514X https://www.amazon.com/SSA_based-Compiler-Design/dp/30308051...
- sanufar 1y agoThis looks great! Added that and this https://www.amazon.com/Engineering-Compiler-Keith-D-Cooper/dp/0128154128 https://www.amazon.com/Engineering-Compiler-Keith-D-Cooper/d... to my list