Hacker ApprovedDepartments

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

  1. Roslyn

    11 recommend, 1 criticize, 92% approval

    Ranked 4 of 10 by recommenders

    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.

  2. MLIR

    10 recommend, 4 criticize, 71% approval

    Shares rank 5 of 10 by recommenders

    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.

Compiler infrastructures ranked by the number of people who recommend them
Rank
1LLVM1199655%126 yrs3 owners—
2QBE161062%9——
3EDG C++ front-end15383%2——
4Roslyn11192%8—Approved
Tied 5MLIR10471%6—Approved
Tied 5Cranelift10759%4——
7rustc_codegen_gcc90100%5——
8Truffle70100%3——
9Nanopass Framework6186%4——
10LLVM IR5550%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.