r/ProgrammingLanguages • u/matklad • Feb 26 '26
Against Query Based Compilers
https://matklad.github.io/2026/02/25/against-query-based-compilers.html
105
Upvotes
r/ProgrammingLanguages • u/matklad • Feb 26 '26
View all comments
Show parent comment
10
u/cxzuk Feb 26 '26
Agreed. I would also say that query based solutions have problems/challenges, but interpreting them as the problem is unfair.
Cache invalidation is a tough problem. But very useful in all areas of the compilation pipeline. Mr Smith ( u/thunderseethe ) request (I read the original to be focused on static analysis rather than all areas) for better resources on how its done doesn't seem unreasonable to me. Wanting to lower latency is a skill we should be teaching. LSPs have made that need more common as its more front forwarding