Hacker News
Advanced Compilers: The Self-Guided Online Course
titzer
|next
[-]
The course overall looks good, and it's great that so much is available online, so well done, Adrian.
samps
|root
|parent
|next
[-]
titzer
|root
|parent
[-]
We spend a lot more time on type feedback, ICs, and deoptimization which are the more universal concepts that can be applied to multiple different compiler designs.
jlebar
|root
|parent
|next
|previous
[-]
JAX is a tracing compiler!
(I know, I know, it sits in an extremely different part of the problem space than TraceMonkey or LuaJIT. Still.)
jcranmer
|root
|parent
|next
|previous
[-]
j2kun
|next
|previous
[-]
jcranmer
|root
|parent
|next
[-]
The short answer is that compilers is basically broken up into two courses, with the first course largely being the minimum necessary to build a compiler (lexing, parsing, codegen, register allocation), and the second course being how to build an optimizing compiler.
mamcx
|root
|parent
|next
|previous
[-]
In fact, the "backend" be compiler or interpreter is nearly always left as "exercise to reader".
You can't imagine how much is left to be discovered, from how make a closure, track environment, do pattern matching, memory representation, etc.
EVERYTHING interesting is something you need to look for.
P.D: This only one of the years:https://gist.githubusercontent.com/mamcx/e1743571b9a1ea163a7...
ferguess_k
|root
|parent
|next
|previous
[-]
Maybe this is introductory for backend?