Hacker ApprovedDepartments

Cranelift

Shares rank 5 of 10 compiler infrastructures by recommenders

People recommend it for very fast code generation and JIT compiling, often compared favorably with LLVM. Critics note limited platform support and missing LLVM intrinsics.

People recommend it for very fast code generation and JIT compiling, often compared favorably with LLVM. Critics note limited platform support and missing LLVM intrinsics.

17 people gave an opinion

recommend it
10
criticize it
7
approval share
59%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

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

Why it doesn’t carry the badge

  • 10 people recommend itNeeds 10 or more, met.
  • 1.4 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 4 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

  • Very fast code generation

    “There are JIT frameworks out there with much faster code-generation than LLVM: Cranelift, GNU Lightning, Mir.”

    Comment from 23 Aug 2026 in “JIT Compiling Code in 5μs”

    “The Cranelift backend is extremely fast.”

    Comment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”
  • Good fit for JIT compilation

    “The reason for it to be killer is that it allows NoiseLang to run as native speeds”

    Comment from 8 Jul 2026 in “NoiseLang: Where N = 5 is a Dirac delta”

    “They could have just used cranelift for jit”

    Comment from 9 Mar 2026 in “Show HN: The Mog Programming Language”

What people warn about

Each mark is one comment

  • Missing LLVM intrinsics and vector support

    “it is missing a lot of llvm intrinsics that will just trap if you are trying to use them”

    Comment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

    “They pretty much just support a subset of 128bit vectors with some rare exceptions.”

    Comment from 27 Sep 2026 in “The state of SIMD in Rust in 2026”

    “i also suspect that that cranelift's vector lowering is not ideal”

    Comment from 8 Jul 2026 in “NoiseLang: Where N = 5 is a Dirac delta”
  • Development seems stagnant

    “The effort seems to have stagnated and if you look into their website, now focused on wasm runtimes.”

    Comment from 25 Dec 2025 in “Map: Operator[] Should Be Nodiscard”

    “Cranelift isn't making that much progress”

    Comment from 22 Oct 2026 in “Rust Style Guide”
  • Complex and needs its own backend

    “It’s really complex, it has tradeoffs like you mentioned, and it requires its own backend to be maintained.”

    Comment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

    “I haven't found it to be that much simpler”

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

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.

Cranelift compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
LLVM1199655%126 yrs3 owners—
QBE161062%9——
EDG C++ front-end15383%2——
Roslyn11192%8—Approved
CraneliftThis page10759%4——
See all 10 compiler infrastructures, ranked

What people said

16 of the 18 comments that mention it, newest first. Each links to the original comment.

“Cranelift isn't making that much progress”

CriticizesComment from 22 Oct 2026 in “Rust Style Guide”

“so C, Wasm, LLVM IR, Cranelift IR etc are better than Go, Nim, and D in my opinion”

RecommendsComment from 6 Oct 2026 in “Gleam doesn't compile to Erlang source anymore”

“it is missing a lot of llvm intrinsics that will just trap if you are trying to use them”

MixedComment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

“It’s really complex, it has tradeoffs like you mentioned, and it requires its own backend to be maintained.”

CriticizesComment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

“just add subsecond and switch to cranelift”

MixedComment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

“Cranelift's biggest blocker for me is that it completely breaks debuggers”

CriticizesComment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

“The Cranelift backend is extremely fast.”

RecommendsComment from 1 Oct 2026 in “How to speed up the Rust compiler in September 2026”

“They pretty much just support a subset of 128bit vectors with some rare exceptions.”

CriticizesComment from 27 Sep 2026 in “The state of SIMD in Rust in 2026”

“There are JIT frameworks out there with much faster code-generation than LLVM: Cranelift, GNU Lightning, Mir.”

RecommendsComment from 23 Aug 2026 in “JIT Compiling Code in 5μs”

“Not even cranelift makes a noticeable dent.”

CriticizesComment from 16 Jul 2026 in “How Our Rust-to-Zig Rewrite Is Going”

“i also suspect that that cranelift's vector lowering is not ideal”

CriticizesComment from 8 Jul 2026 in “NoiseLang: Where N = 5 is a Dirac delta”

“The reason for it to be killer is that it allows NoiseLang to run as native speeds”

RecommendsComment from 8 Jul 2026 in “NoiseLang: Where N = 5 is a Dirac delta”

“Cranelift does not support the wide range of platforms”

MixedComment from 11 Mar 2026 in “Zig – Type Resolution Redesign and Language Changes”

“They could have just used cranelift for jit”

RecommendsComment from 9 Mar 2026 in “Show HN: The Mog Programming Language”

“The effort seems to have stagnated and if you look into their website, now focused on wasm runtimes.”

CriticizesComment from 25 Dec 2025 in “Map: Operator[] Should Be Nodiscard”

“I haven't found it to be that much simpler”

CriticizesComment 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.