r/Compilers • u/LengthinessNo5837 • Jul 23 '24
Current Research In Compilers ?
I know i have a long way to go. I just got interested in compilers and started reading “Crafting Interpreters”. The book specifies a domain “language optimization” where some people invest their entire life researching in this domain. I am planning to do my research on this. Is this a stagnant domain for research? I also want to know what are the research thats been done in this area. How do i find those research? What are some more research areas in compilers?
38
Upvotes
19
u/The_Engineer42 Jul 23 '24
Look at the compiler conferences, like PLDI, CGO, OOPSLA, ASPLOS.
8
u/regehr Jul 23 '24
just as of today, all talks from PLDI 2024 and its associated events are posted on youtube:
https://www.youtube.com/@acmsigplan/videos
you could do worse than skimming the titles of these talks and watching a few that seem like they might be interesting.
7
u/reynardodo Jul 23 '24
Optimization is a never ending area of research for software in general.
Language research is not stagnant, just was not that sexy and well paid if you were not working as a tenured researcher, although that is changing as a lot of people are learning about languages and their implementation, at least in general, I see a lot of people learning PLs and related tech, I guess it is more because many influencers talking about it and encouraging people to learn the fundamentals.
I think one of the more recent research area that is now being worked on was MLIR.
https://arxiv.org/pdf/2002.11054
And here are some more links, look for research in CS in the "Programming Languages" subsection
https://arxiv.org/list/cs.FL/recent
https://arxiv.org/list/cs.PL/recent
4
u/[deleted] Jul 25 '24 edited Jul 25 '24
Look at ACM SIGPLAN Open TOC. Papers listed there are Free/Open Access in ACM Digital Library, which means you don’t have to pay for the ACM Membership to download them.
SIGPLAN, by the way, stands for “Special Interest Group on Programming Languages”. Most of new research in PL and compilers is published through one of its conferences.
Some of the more premier SIGPLAN conferences are PLDI (Programming Language Design and Implementation), CC (Compiler Construction), CGO (Code Generation and Optimization), ASPLOS (Architectural Support for Programming Languages and Operating Systems).
2
u/dacydergoth Jul 26 '24
LLVM are doing a lot, especially as a backend for the rust compiler
2
u/[deleted] Jul 28 '24
A friend of mine did PhD in super-optimization -- His thesis was to automatically find peephole patterns using a super-optimizer, and then "generalize" the pattern so it can be included in a compiler like gcc or llvm. Also, he did some work to train LLM's (chatgpt-4) to find a "faster" sequence of instructions compared to given input sequence, and then correct the result of LLM using formal methods. If you're interested here's the paper on generalizing peephole transforms -- https://users.cs.utah.edu/~regehr/generalization-oopsla24.pdf