r/Compilers • • 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?

37 Upvotes

9 comments sorted by

View all comments

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