News for hackers. Stuff that matters.
Re:My First Fifteen Compilers by mhh__ on Friday July 12, 2019 @05:43PM (#20424789)
I'm not convinced this is true in general. Depending on how complicated these passes are, if you were to write the compiler in a language that allows you to combine them at compile time it would be entirely possible for the compiler(The one compiling the compiler) to cut out of the inter-pass crud.

https://d.godbolt.org/z/w9At24 I hacked together this to show what I mean, i.e. Composing working functions with templates, which the compiler can then optimize into just a function call like any other (i.e. This can be used to minimize runtime scheduling cost)

There are no comments on this comment yet.