Compilers – Register Allocation and Garbage Collection: my study notes

These notes are from the Week 9 of the Compilers course by Stanford. Register Allocation When we generate intermediate code, we are not concerned about how many registers the target machine has. Therefore, the last phase should…

Read more of Compilers – Register Allocation and Garbage Collection: my study notes

Compilers – Local Optimization & Global Optimization: my study notes

These notes are from the Week 8 of the Compilers course by Stanford. An intermediate language provides an intermediate level of abstraction while compiling languages, helping optimizations by including more details than the source language has, but…

Read more of Compilers – Local Optimization & Global Optimization: my study notes