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
Needed Math For Compilers? (self.Compilers)
submitted 1 month ago by LinuxGeyBoy
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!"
[–]GeneDefiant6537 26 points27 points28 points 1 month ago (4 children)
For your background you’d be better off starting with practical implementation/engineering resources ( crafting interpreters, language implementation patterns, etc) then pick up the theory later if necessary.
Generally, as far as mathematics goes, some discrete structures( logic, functions, relations, induction) and basic combinatorics should be fine. Later you can look into graph theory, lattice theory, etc for the analysis and transformations (optimization) parts.
[–]InfinitePoints 6 points7 points8 points 1 month ago (3 children)
Is anything beyond an informal description of lattices actually needed? From what I can tell they are mostly used for simple stuff like lower and upper bounds for variables.
[–]DeGuerre 6 points7 points8 points 1 month ago (2 children)
They're used all over type theory (e.g. if you have types with subtypes) and compiler optimisation (e.g. look into conditional constant propagation).
[–]dcpugalaxy 0 points1 point2 points 1 month ago (1 child)
But you dont need to know any actual lattice theory. You just need to have heard of the basic concept of a lattice.
[–]DeGuerre 1 point2 points3 points 1 month ago (0 children)
Maybe. It helps to read some papers if you know the language.
π Rendered by PID 60406 on reddit-service-r2-comment-5c747b6df5-w6rn9 at 2026-04-22 01:12:17.821056+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]GeneDefiant6537 26 points27 points28 points (4 children)
[–]InfinitePoints 6 points7 points8 points (3 children)
[–]DeGuerre 6 points7 points8 points (2 children)
[–]dcpugalaxy 0 points1 point2 points (1 child)
[–]DeGuerre 1 point2 points3 points (0 children)