โ‰ˆ the.bay.news

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

Sign in to join the discussion โ€” your thebay.events account works here.

No comments yet.