The best compiler infrastructures, according to hackers
10 compiler infrastructures were recommended on Hacker News between November 2025 and November 2026. We rank them by how many separate people recommend each one, and 2 earn the Hacker Approved badge.
Top picks
The two most recommended compiler infrastructures with the badge. Each figure is one person. RecommendsCriticizes One comment
Strong typing and semantic APIs
Free .NET compiler platform giving developers parsing, semantic analysis and code generation through C# APIs, widely used for code analysis tooling.
Best-in-class compiler infrastructure
Widely used LLVM-based compiler infrastructure for building IRs and DSLs; people praise its power, though critics say it adds heavy complexity and requires C++ and TableGen.
All 10 compiler infrastructures, ranked
Select a column heading to sort. Approval share is recommenders out of everyone who gave an opinion; the tick on each bar marks the 2 to 1 line the badge needs. Months counts the months, out of 13, in which someone recommended it.
| Rank | |||||||
|---|---|---|---|---|---|---|---|
| 1 | LLVM | 119 | 96 | 55% | 12 | 6 yrs3 owners | — |
| 2 | QBE | 16 | 10 | 62% | 9 | — | — |
| 3 | EDG C++ front-end | 15 | 3 | 83% | 2 | — | — |
| 4 | Roslyn | 11 | 1 | 92% | 8 | — | Approved |
| Tied 5 | MLIR | 10 | 4 | 71% | 6 | — | Approved |
| Tied 5 | Cranelift | 10 | 7 | 59% | 4 | — | — |
| 7 | rustc_codegen_gcc | 9 | 0 | 100% | 5 | — | — |
| 8 | Truffle | 7 | 0 | 100% | 3 | — | — |
| 9 | Nanopass Framework | 6 | 1 | 86% | 4 | — | — |
| 10 | LLVM IR | 5 | 5 | 50% | 3 | — | — |
How we rank
Rank is the number of separate people who recommend a product in a Hacker News comment over the past year. Someone who praises the same compiler infrastructure in five threads counts once.
The badge goes to compiler infrastructures that at least 10 people recommend, with recommenders outnumbering critics at least 2 to 1, recommended in at least 4 of the 13 months.
Rankings are never for sale. We may earn a commission when you buy through our links. It never changes the order.