Zig optimizer (my bachelor thesis)
Ziggit
Zig optimizer (my bachelor thesis)
Hi ๐ As my bachelor thesis I decided to write a patch into the Zig compiler that introduces a new compilation phase dedicated to optimizations. It uses a Sea of Nodes representation adapted for the DoD style used in the compiler. https://codeberg.org/prokop/zig/src/branch/optimizer/src/opt. It was a lot of fun to write! Iโm actually pretty proud of the way I store the program in memory (it went through many changes and iโm still not finished). It is remarkable how unimpressive the code ...
0 comments
No comments yet.