Hacker ApprovedDepartments

YJIT

Hacker Approved

Ranked 3 of 6 JIT compilers by recommenders

Built into Ruby, used in production, and gives performance gains for free. Critics note its profile-guided design pays a cost when hot paths change type.

Built into Ruby, used in production, and gives performance gains for free. Critics note its profile-guided design pays a cost when hot paths change type.

12 people gave an opinion

recommend it
10
criticize it
2
approval share
83%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

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

Why it carries the badge

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

  • Large performance gains for free

    “The former bringing a pretty substantial performance improvements to the language.”

    Comment from 28 May 2026 in “The Green Side of the Lua”

    “you get performance improvement for free”

    Comment from 27 Dec 2025 in “ZJIT is now available in Ruby 4.0”

    “Not really slow since YJIT, I think 3.1?”

    Comment from 19 Apr 2026 in “Optimizing Ruby Path Methods”
  • Proven in production at large sites

    “Ruby has had YJIT for some time and being deployed and used in production, from Github to Shopify.”

    Comment from 21 Dec 2025 in “Ruby website redesigned”

    “I just upgraded my prod apps to run on YJIT”

    Comment from 26 Dec 2025 in “ZJIT is now available in Ruby 4.0”
  • Mature, well-regarded Ruby JIT

    “In Ruby-land we have had a good JIT for a while now”

    Comment from 27 Oct 2026 in “Python's experimental JIT to be removed”

    “which will never be able to surpass Maxime's yjit”

    Comment from 22 Nov 2025 in “Ruby 4.0.0 Preview2”

What people warn about

Each mark is one comment

  • Cost when hot paths diverge

    “YJIT's profile-guided approach is powerful but pays a cost every time a hot path diverges from the expected type.”

    Comment from 22 Mar 2026 in “ZJIT removes redundant object loads and stores”
  • Being deprecated in favour of ZJIT

    “I'm a little sad to see YJIT go down in favour of a traditional design.”

    Comment from 26 Dec 2025 in “ZJIT is now available in Ruby 4.0”

    “Because now YJIT is deprecated”

    Comment from 26 Dec 2025 in “ZJIT is now available in Ruby 4.0”

Other JIT compilers people recommend

The four most recommended other JIT compilers, 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.

YJIT compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Numba30977%9—Approved
CPython experimental JIT131645%3——
YJITThis page10283%6—Approved
HotSpot JVM80100%4——
ZJIT7278%5——
See all 6 JIT compilers, ranked

What people said

All 13 comments that mention it, newest first. Each links to the original comment.

“In Ruby-land we have had a good JIT for a while now”

RecommendsComment from 27 Oct 2026 in “Python's experimental JIT to be removed”

“The former bringing a pretty substantial performance improvements to the language.”

RecommendsComment from 28 May 2026 in “The Green Side of the Lua”

“Not really slow since YJIT, I think 3.1?”

RecommendsComment from 19 Apr 2026 in “Optimizing Ruby Path Methods”

“YJIT's profile-guided approach is powerful but pays a cost every time a hot path diverges from the expected type.”

MixedComment from 22 Mar 2026 in “ZJIT removes redundant object loads and stores”

“you get performance improvement for free”

RecommendsComment from 27 Dec 2025 in “ZJIT is now available in Ruby 4.0”

“I'm a little sad to see YJIT go down in favour of a traditional design.”

CriticizesComment from 26 Dec 2025 in “ZJIT is now available in Ruby 4.0”

“Because now YJIT is deprecated”

CriticizesComment from 26 Dec 2025 in “ZJIT is now available in Ruby 4.0”

“I just upgraded my prod apps to run on YJIT”

RecommendsComment from 26 Dec 2025 in “ZJIT is now available in Ruby 4.0”

“Ruby has had YJIT for some time and being deployed and used in production, from Github to Shopify.”

RecommendsComment from 21 Dec 2025 in “Ruby website redesigned”

“which will never be able to surpass Maxime's yjit”

RecommendsComment from 22 Nov 2025 in “Ruby 4.0.0 Preview2”

“Methods that are written in pure ruby outperform C libraries called from Ruby”

RecommendsComment from 18 Nov 2025 in “The Uselessness of "Fast" and "Slow" in Programming”

“ZJIT is supposed to be an improvement on YJIT.”

MixedComment from 18 Nov 2025 in “Ruby 4.0.0 Preview2”

“significant investment recently in JITs, in particular YJIT and ZJIT”

RecommendsComment from 9 Nov 2025 in “Friendly attributes pattern in Ruby”

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