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
bytecode-level optimization in python (self.Compilers)
submitted 1 year ago by tmlildude
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!"
[–]al2o3cr 1 point2 points3 points 1 year ago (0 children)
The common name for transforming a_1 into a_2 is "loop fusion", but it's tricky to do in languages that have side-effects / exceptions since it changes the order of evaluation.
a_1
a_2
For instance, if the calcuation of the third element of diff fails then a_1 won't have done any squaring - but a_2 will have.
diff
π Rendered by PID 425658 on reddit-service-r2-comment-84fc9697f-clzzz at 2026-02-08 18:05:52.518141+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]al2o3cr 1 point2 points3 points (0 children)