---
title: "Discussion on \"How Ruby Executes JIT Code: The Hidden Mechanics Behind the Magic\" | Hashnode"
description: "Discussion on \"How Ruby Executes JIT Code: The Hidden Mechanics Behind the Magic\". This post was originally published on September 8, 2025 on Rails at Scale.\n\nEver since YJIT's introduction, I've felt simultaneously close to and distant from Ruby's JIT compiler. I know how to enable it in my Ruby programs. I know it makes my Ruby p..."
url: "https://hashnode.com/posts/how-ruby-executes-jit-code/6952cef48c73e08b26b47b94"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Ruby Executes JIT Code: The Hidden Mechanics Behind the Magic](https://st0012.dev/how-ruby-executes-jit-code?utm_source=hashnode&utm_medium=feed)

This post was originally published on September 8, 2025 on Rails at Scale. Ever since YJIT's introduction, I've felt simultaneously close to and distant from Ruby's JIT compiler. I know how to enable it in my Ruby programs. I know it makes my Ruby p...

Dec 29, 2025 · 6 min read · st0012.dev  
Updated Jan 12  
Read the article

-   [#jit](https://hashnode.com/tag/jit)
-   [#performance](https://hashnode.com/tag/performance)
-   [#ruby](https://hashnode.com/tag/ruby)
-   [#yjit](https://hashnode.com/tag/yjit)

## Written by

[Stan Lo](https://hashnode.com/@st0012)

@st0012 · London

  
[View profile](https://hashnode.com/@st0012)

Senior developer at Shopify’s Ruby Developer Experience Team. Works on Ruby LSP, RDoc, IRB, Reline…etc.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
