Hacker ApprovedDepartments

QBE

Ranked 2 of 10 compiler infrastructures by recommenders

Small, simple compiler backend that is far less code than LLVM and simpler to use. Main caveat: slower than GCC -O2 output.

Small, simple compiler backend that is far less code than LLVM and simpler to use. Main caveat: slower than GCC -O2 output.

26 people gave an opinion

recommend it
16
criticize it
10
approval share
62%
Each figure is one person. RecommendsCriticizes

Recommended in 9 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 16 people recommend itNeeds 10 or more, met.
  • 1.6 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 9 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Much simpler than LLVM

    “It's way simpler than LLVM, giving you about 70% of the LLVM performance, for 10% of the effort.”

    Comment from 8 May 2026 in “Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE”

    “Sure it can't do all the optimizations LLVM can but it is radically simpler and easier to use.”

    Comment from 3 Jan 2026 in “The C3 Programming Language”

    “QBE is a super simple project which is why adding a backend to it worked so well.”

    Comment from 8 May 2026 in “QBE – Compiler Back End”
  • Small codebase, few lines

    “are orders of magnitude smaller, are _not_ written in one of the worst computer languages ever”

    Comment from 9 Jun 2026 in “A discovery about GCC's unidirectional rotation algorithm”

    “a small and alternative plain and simple C compiler like cproc/qbe or tinycc”

    Comment from 27 Apr 2026 in “Dillo Browser Release 3.3.0”

    “for a small fraction of the code... and a plain and simple C coded compiler”

    Comment from 8 May 2026 in “QBE – Compiler Back End”
  • Reasonable performance against LLVM and GCC

    “It's way simpler than LLVM, giving you about 70% of the LLVM performance, for 10% of the effort.”

    Comment from 8 May 2026 in “Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE”

    “Now 1.3 is 63% the speed of gcc O2 on this largely hostile benchmark.”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

    “I found IR much faster and better codegen than MIR”

    Comment from 3 Jun 2026 in “QBE – Compiler Back end: Version 1.3”
  • Better intermediate language design

    “It would probably be best to have the intermediate language that QBE has”

    Comment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

    “illustrates a better intermediate language design”

    Comment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

What people warn about

Each mark is one comment

  • Too slow compared with GCC

    “it's still too slow to be considered production ready”

    Comment from 3 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

    “Except performance isn't great and it covers far fewer platforms.”

    Comment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

    “it's currently around 40% as fast as gcc -O2”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”
  • Dense, terse code hard to read

    “declaration blocks like this make it feel like 1970s Unix code more than a modern hackable piece of software”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

    “they've prioritised code golfing a bit too much over code quality”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

    “I got approximately nowhere because I can't read code like that.”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”
  • Hard to modify the code

    “the QBE code is really strange so if you need to make some changes yourself it probably won't be very fun”

    Comment from 8 May 2026 in “Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE”

    “declaration blocks like this make it feel like 1970s Unix code more than a modern hackable piece of software”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”
  • Missing debug info and GC roots

    “It looks like it doesn't have native support for identifying GC roots”

    Comment from 8 May 2026 in “QBE – Compiler Back End”

    “missing a way to add source level debugging info”

    Comment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

Other compiler infrastructures people recommend

The four most recommended other compiler infrastructures, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

QBE compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
LLVM1199655%126 yrs3 owners—
QBEThis page161062%9——
EDG C++ front-end15383%2——
Roslyn11192%8—Approved
MLIR10471%6—Approved
See all 10 compiler infrastructures, ranked

What people said

33 of the 39 comments that mention it, newest first. Each links to the original comment.

“are orders of magnitude smaller, are _not_ written in one of the worst computer languages ever”

RecommendsComment from 9 Jun 2026 in “A discovery about GCC's unidirectional rotation algorithm”

“it's still too slow to be considered production ready”

MixedComment from 3 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“I found IR much faster and better codegen than MIR”

RecommendsComment from 3 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“missing a way to add source level debugging info”

MixedComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“no inlining, so-so register allocation, and a simple code generator”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“Now 1.3 is 63% the speed of gcc O2 on this largely hostile benchmark.”

RecommendsComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“I got approximately nowhere because I can't read code like that.”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“going through the very dense code was a slog”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“they've prioritised code golfing a bit too much over code quality”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“it's currently around 40% as fast as gcc -O2”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“It is hard for me to fully trust a compiler backend that isn't self hosted.”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“this new QBE feature of supporting windows”

RecommendsComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“declaration blocks like this make it feel like 1970s Unix code more than a modern hackable piece of software”

CriticizesComment from 2 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“it's smol, effective, and it doesn't make you deal with phi nodes”

MixedComment from 8 May 2026 in “QBE – Compiler Back End”

“It looks like it doesn't have native support for identifying GC roots”

CriticizesComment from 8 May 2026 in “QBE – Compiler Back End”

“the QBE code is really strange so if you need to make some changes yourself it probably won't be very fun”

CriticizesComment from 8 May 2026 in “Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE”

“for a small fraction of the code... and a plain and simple C coded compiler”

RecommendsComment from 8 May 2026 in “QBE – Compiler Back End”

“QBE is a super simple project which is why adding a backend to it worked so well.”

RecommendsComment from 8 May 2026 in “QBE – Compiler Back End”

“the code is somewhat terse and eccentric”

CriticizesComment from 8 May 2026 in “QBE – Compiler Back End”

“I really like QBE but I hope they will make it a true library”

MixedComment from 8 May 2026 in “QBE – Compiler Back End”

“It's way simpler than LLVM, giving you about 70% of the LLVM performance, for 10% of the effort.”

RecommendsComment from 8 May 2026 in “Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE”

“it's a great lightweight alternative to LLVM”

RecommendsComment from 8 May 2026 in “Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE”

“a small and alternative plain and simple C compiler like cproc/qbe or tinycc”

RecommendsComment from 27 Apr 2026 in “Dillo Browser Release 3.3.0”

“Except performance isn't great and it covers far fewer platforms.”

CriticizesComment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

“It would probably be best to have the intermediate language that QBE has”

RecommendsComment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

“illustrates a better intermediate language design”

RecommendsComment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

“come with nice technical descriptions”

RecommendsComment from 9 Feb 2026 in “Claude's C Compiler vs. GCC”

“QBE might be more to your liking”

RecommendsComment from 13 Jan 2026 in “LLVM: The Bad Parts”

“have a look at cproc and QBE, or scc, tinycc”

RecommendsComment from 8 Jan 2026 in “C Is Best”

“I also like that it uses QBE for the reasons they explained.”

RecommendsComment from 3 Jan 2026 in “The C3 Programming Language”

“Sure it can't do all the optimizations LLVM can but it is radically simpler and easier to use.”

RecommendsComment from 3 Jan 2026 in “The C3 Programming Language”

“Even the hobby underdog qbe seems ill-suited to 6502 repurposing.”

CriticizesComment from 1 Dec 2025 in “LLVM-MOS – Clang LLVM fork targeting the 6502”

“With qbe you won't need any of this.”

RecommendsComment from 8 Nov 2025 in “Becoming a compiler engineer”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.