~/talk

State of Namespace

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby]
slides:none on file

Namespace isolates classes and modules by giving each class a per-namespace classext so different versions of the same library can coexist in one process, implemented by shallow-copying classexts per namespace and resolving autoload by deep-copying autoload tables when needed. Native extensions load by creating per-namespace .so copies to avoid DLOpen collisions. Debugging found a sigkill/segv caused by overwritten .so names, bug20655 (stack pop on continuations) was fixed, Make Check passed in January while a wider Make Exam still fails, and merge into Ruby 3.5 is targeted with namespace off by default.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:26What is Namespace in Ruby
  3. 4:31Debugging and Ruby 3.4 progress
  4. 6:58Ruby class definition structure
  5. 9:05Namespace class definition changes
  6. 10:07Autoload behavior in Namespace
  7. 13:38Ruby version constant issues
  8. 16:27Signal kills and crashes
  9. 17:52Native extension library conflicts
  10. 20:40Namespace stack management bug
  11. 21:43Continuation and namespace pop issue
  12. 22:25CME method cache problem
  13. 23:28Prism parser system stack errors
  14. 24:31Method cache and CC table challenges
  15. 25:13Future plans for Namespace
  16. 26:58Merging Namespace into Ruby 3.5
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.