Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Namespace and Its Future

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Namespace and Its Future

#rubykaigi_followup

Satoshi Tagomori

August 30, 2025

Transcript

19 slides
  1. “THE END OF NAMESPACE” Namespace and Its Future Satoshi Tagomori

    (@tagomoris) RubyKaigi 2025 follow up - 2025-08-30 #rubykaigi_followup
  2. ా᝷ ૱ (Satoshi Tagomori) @tagomoris ͘͞ΒΠϯλʔωοτ (2024.08ʙ) Ϋϥ΢υࣄۀຊ෦ ϓϩμΫτϚωʔδϟ Maintainer/Founder:

    OSS: Ruby, Fluentd, MessagePack, 
 Norikra, Woothee, …
 Event: ISUCON Service: Pathtraq
  3. This Talk • RubyKaigi 2025 and a Month • Namespace

    In the Master Branch • of “Theirs” • of tagomoris • The End of Namespace
  4. What ’ s “Namespace”? • Check “Namespace, What and Why”

    • A new feature to create boxes to separate de fi nitions IUUQTTQFBLFSEFDLDPNUBHPNPSJTOBNFTQBDFXIBUBOEXIZ
  5. RubyKaigi 2025 Unexpected&Surprising Push from Matz In Matz ’ s

    ending keynote: “Zjit will be merged sooner…. And, I expect that the Namespace would be merged too in the next week or after the next. Is it OK?”
  6. RubyKaigi 2025 Unexpected&Surprising Push from Matz In Matz ’ s

    ending keynote: “Zjit will be merged sooner…. And, I expect that the Namespace would be merged too in the next week or after the next. Is it OK?” “No, No〜〜〜!” 😱
  7. 9

  8. Namespace in the Master Branch of “Theirs” • Fields -

    Rearchitected Object Shape (by byroot) • Instance variable management of classes/modules • Introduced just after RubyKaigi 2025, then updated w/ Namespace • Minimize memory usage around Namespace by updating memory layout (by byroot) • And others on rb_classext_t (by byroot, jhawthorn and eileencodes) • Fix SEGV on mmtk checks (by Peter Zhu) • Added Namespace#eval (by tenderlove)
  9. Namespace in the Master Branch of tagomoris • Some minor

    bug fi xes • “Namespace management using control frame” • Updating namaspace management from 2 stacks to control frames (rb_control_frame_t) • Still WIP
  10. The name of “Namespace” Top level “Namespace” will break something

    • If Ruby 3.5 will be released with the top level “Namespace”… • It breaks GitLab! 😱 • The name should… • NOT con fl ict existing classes/modules (at least, major libs/apps) • Show its feature and concept

More Decks by Satoshi Tagomori

Other Decks in Programming