News for hackers. Stuff that matters.
Re:Compiler Design in C by nickik on Saturday November 15, 2014 @11:55AM (#8612035)
The good intro to compilers is Engineering a Compiler. It focuse more on optimization then most intro books, and its all SSA.

If you want to go all in on SSA optimization, there is a book called Static Single Assignment Book and its written by a hole list of compiler writers. Its not finished but there is still a lot of information.

You can find it here: http://ssabook.gforge.inria.fr/latest/book.pdf

Or you can go with the classic, Advanced Compiler Design & Implementation. See here, http://www.amazon.com/Advanced-Compiler-Design-Implementatio...

All of them will teach you a lot about LLVM.

Re:Compiler Design in C by ltta on Saturday November 15, 2014 @04:41PM (#8612736)
Speaking of SSA and optimizations, I just remembered that Andy Wingo (core contributor to Guile scheme) has a treasure trove of great articles, e.g. a fun intro to SSA [1] or CPS as used in Guile [2]. His blog is totally worth just browsing around.

[1] http://wingolog.org/archives/2011/07/12/static-single-assign...

[2] http://wingolog.org/archives/2014/01/12/a-continuation-passi...

Re:Compiler Design in C by nickik on Sunday November 16, 2014 @05:57PM (#8615851)
Yes. His posts are a great. He is working on a VM and I do to so I follow his work closly.