News for hackers. Stuff that matters.
Re:Super Tiny Compiler by skybrian on Thursday March 31, 2016 @03:54PM (#11400119)
There are a wide variety of techniques. Some compilers use a single IR (intermediate language) as the input and output for each optimization pass. Others use multiple IR's depending on the phase.

If you have a bunch of optimization passes and each pass visits the entire program, the compiler can become slow pretty quickly. Also, there's nothing preventing passes from running in the wrong order, and they may have implicit dependencies that aren't well documented.

There are no comments on this comment yet.