[HN Gopher] A Baseline Scrapscript Compiler
___________________________________________________________________
A Baseline Scrapscript Compiler
Author : ingve
Score : 11 points
Date : 2024-06-02 05:22 UTC (1 days ago)
(HTM) web link (bernsteinbear.com)
(TXT) w3m dump (bernsteinbear.com)
| tekknolagi wrote:
| If you have suggestions for compiler optimizations, I'm all ears!
| Currently thinking SSA but I maybe could be convinced to try CPS.
| Wondering if either inherently limits different classes of
| optimizations
| JonChesterfield wrote:
| They're pretty close to the same thing. A good read on this is
| https://wingolog.org/archives/2015/07/27/cps-soup. Consider
| block arguments instead of phi nodes. That makes the
| correspondence between a function and a basic block especially
| clear.
___________________________________________________________________
(page generated 2024-06-03 23:02 UTC)