~/talk

The Journey of Box Building

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [software-architecture]
slides:none on file

Ruby 4.0 ships an experimental isolation mechanism accessible with RUBY_BOX=1 and the Ruby::Box class that loads files and extensions into per-box spaces so monkey patches and constants don’t leak across loaded app versions. It exposes box IDs in control-frame dumps (e.g. B:0003) and uses a BOX_REQUIRE flag plus an injected BoxLoader require to ensure the right box is the LoadingBox, enabling same-process blue/green tests and simpler scoped mocking.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:54Ruby 4.0 and Ruby Box
  3. 7:13What is Ruby Box?
  4. 17:41CurrentBox management
  5. 27:32Frame flags and LoadingBox
  6. 36:27Box finding mechanism
  7. 37:20Personal journey to Ruby Box
  8. 45:09Call to explore and discuss
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.