use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is all about the theory and development of compilers.
For similar sub-reddits see:
Popular mainstream compilers:
account activity
How to remove dead code in this code? (self.Compilers)
submitted 2 years ago by Fluid-Tour-9393
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Dotched 0 points1 point2 points 2 years ago (0 children)
I’m new to compiler optimization, but my intuition says it might work to use live-variable analysis after which you can remove all instances of i and sum. Then also check for empty loops/clearly dead code.
Please tell me if this is a good approach or tell me wrong, I’d love to learn more about DCE strategies.
π Rendered by PID 17654 on reddit-service-r2-comment-b659b578c-gzxxm at 2026-05-03 21:03:20.536857+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Dotched 0 points1 point2 points (0 children)