News for hackers. Stuff that matters.
Re:A self-hosting and educational C optimizing compiler by charlieyu1 on Sunday January 07, 2024 @08:53PM (#38907375)
TIL about Intermediate Representation. Makes it easier to understand.
Re:A self-hosting and educational C optimizing compiler by jserv on Monday January 08, 2024 @02:33AM (#38909140)
While initializing shecc, it automatically creates a visualized control-flow graph and dominator tree. These can be visualized using Graphviz. To view them, execute the command "make check-snapshots" and then inspect the created CFG.dot and DOM.dot files.