RubyKaigi 2025
2025-04-16..2025-04-18
Matsuyama, Japan
[RubyKaigi 2015, RubyKaigi 2017, RubyKaigi 2018, RubyKaigi 2024, RubyKaigi 2025, RubyKaigi 2026]
| title | author | length |
|---|---|---|
| Performance Bugs and Low-level Ruby Observability APIs | Ivo Anjo | 54m |
Explains how Ruby C APIs produce concrete tools: a published low-level toolkit gem shows C examples for track_objects_created (captures allocations but must… | ||
| Ruby Taught Me About Encoding Under the Hood | Mari Imaizumi | 52m |
Reports an IRB crash caused by a family emoji that is actually 7 code points long; fixes move from counting code points to treating user-visible characters as… | ||
| Deoptimization: How YJIT Speeds Up Ruby by Slowing Down | Takashi Kokubun | 27m |
YJIT compiles Ruby methods to native code and claims 2× speed on Rails bench, with real production measurements showing 18% average / 33% peak storefront… | ||
| The Evolution of the CRuby Build System | Yuta Saito | 32m |
Build time and maintainability are the problem: configure checks grow with configure.ac approaching 6,000 lines and configure and make phases rising from… | ||
| Make Parsers Compatible Using Automata Learning | Hiroya Fujinami | 31m |
Two Ruby parsers (parsed.y ~16,000 lines and Prism) get modeled as automata by using active learning and a VPA approximation; a Ruby library called Lernen… | ||
| Matz Keynote | yukihiro Matsumoto 'Matz' | 51m |
Argues that Reverse Alpha Syndrome is real: AI excels at patterned code but fails at specs and negotiation, risking humans becoming AI servants; cites 70–80%… | ||
| mruby/c and data-flow programming for small devices | Kazuaki Tanaka | 30m |
Describes a workflow that turns a browser data‑flow graph into mruby/mruby/c bytecode, uploads it to a tiny VM and runs on single‑chip MCUs (targeting ~20 KB… | ||
| Continuation is to be continued | Masayuki Mizuno | 28m |
Explains that Ruby’s call/cc uses memcpy plus setjmp/longjmp to copy whole stacks and that makes DSL backtracking awkward; implements a backtracking DSL… | ||
| ZJIT: Building a Next Generation Ruby JIT | Maxime Chevalier Boisvert | 30m |
ZJIT is a method‑based Ruby JIT that replaces direct YARV→machine code emission with an SSA‑based IR and modular compiler passes; after 2.5 months it already… | ||
| Dissecting and Reconstructing Ruby Syntactic Structures | Yudai Takada | 29m |
Describes a concrete refactor of Ruby grammar: switching the parser generator to Ryama, adding node location info via ParseY, and introducing %rule… | ||
| MicroRuby: True Microcontroller Ruby | Hitoshi Hasumi | 30m |
MicroRuby combines the PicoRuby compiler with the full mruby VM and implements preemptive task scheduling by using mrb_context lists and marking contexts in… | ||
| Bazel for Ruby | Alex Rodionov | 31m |
Bazel builds a Ruby gem end-to-end: Starlark rules declare a calendar.gem target that runs gem build, a calendar_release target that runs gem push, and spec… | ||
| How to make the Groovebox | Yuya Fujiwara | 28m |
Built a runnable Groovebox called GlooboxRuby that combines a synthesizer, effector and a sequencer exposed via a TUI and exportable MIDI, implemented in Ruby… | ||
| Improvement of REXML and speed up using StringScanner | NAITOH Jun | 29m |
REXML gets concrete speedups by replacing regex-heavy parsing with Ruby's StringScanner and byte-level reads: benchmarks show REXML 3.4.1 = up to 60% faster… | ||
| Eliminating Unnecessary Implicit Allocations | Jeremy Evans | 31m |
Ruby 3.4 eliminates several unnecessary implicit allocations: it fixes 3 allocation regressions found in ~2 weeks, adds an allocation test suite that prevents… | ||
| Modular Garbage Collectors in Ruby | Peter Zhu | 28m |
Experimental Ruby 3.4 modular GC exposes a C API (about 60 functions across 14 sections) by splitting GC.c into a VM interface and loadable GC implementations… | ||
| Toward Ractor local GC | Koichi Sasada | 30m |
Proposes ractor-local garbage collection that treats sharable objects as roots and avoids cross-ractor reference tracking by conservatively marking all… | ||
| dRuby on Browser Again! | Red Sun-san | 30m |
Two gems implement DRb over the web: DRB WebSocket (WebSocket-based DRb with standalone and Rack middleware) and WASM-DRB (DRb running on RubyWasm that… | ||
| From C extension to pure C: Migrating RBS | Alexander Momchilov | 29m |
RBS moves from a Ruby gem with a C extension to a pure C library that exposes a C API so tools like Sorbet (C++) and JRuby can use RBS without loading the Ruby… | ||
| Empowering Developers with HTML-Aware ERB Tooling | Marco Roth | 30m |
A new toolchain named Herp parses ERB files as HTML-aware syntax trees, implemented as a handwritten C99 parser with Ruby and JS bindings, preserving exact… | ||
| Automatically generating types by running tests | Takumi Shotoku | 23m |
A gem named RBS Trace gem on RubyGems automatically records argument and return classes during tests and inserts RBS comments into method definitions; it uses… | ||
| Lightning Talks | 01h 00m | |
A rapid set of demos and fixes: a 25 year Lightning Talks tradition is explained with the ritual of hitting a Chinese pot, then mrubyc on PS1 shows a spinning… | ||
| Writing Ruby Scripts with TypeProf | Yusuke Endoh | 32m |
TypeProf is a Ruby whole-program type-inference engine with a VS Code extension that shows inferred return types, go-to-definition and rename refactors, and a… | ||
| You Can Save Lives With End-to-end Encryption in Ruby | Ryo Kajiwara | 28m |
Implements Messaging Layer Security (RFC 9420) in Ruby as the Melos gem, using the HPKE gem for hybrid public key encryption and an array‑backed secret tree to… | ||
| A taxonomy of Ruby calls | Alan Wu | 31m |
A practical classification of Ruby calls groups call pairs by the actual work of argument passing and shows concrete effects: specialization removes runtime… | ||
| Optimizing JRuby 10 | Charles Oliver Nutter | 29m |
JRuby 10 ships with Ruby 3.4 compatibility and requires Java 21, and startup improves using app CDS with future gains expected from project leaden AOT caching… | ||
| Road to Go gem | Go Sueyoshi | 31m |
Library called Go gem wrapper generates native Ruby extensions by auto-producing roughly 1,100 bindings from CRuby headers into Go, using RubyHeaderParser and… | ||
| Embracing Ruby magic: Statically analyzing DSLs | Vinicius Stock | 31m |
Ruby LSP now exposes an add-on API that lets gems teach the server how to understand declaration DSLs and call-site DSLs rather than hardcoding every… | ||
| Profile and benchmark every single change | Daisuke Aritomo | 28m |
Argues for bench-driven development by attaching benchmarks and profiles to every change, using a custom DSL and the PS2 profiler with differential flame graph… | ||
| Improving my own Ruby | monochrome | 19m |
Mono Ruby is a Rust-implemented Ruby with parser, GC, interpreter and a JIT that compiles hot bytecode to machine code and falls back on deoptimization when… | ||
| The Challenges of Building sigstore-ruby | Samuel Giddins | 30m |
A pure Ruby implementation of sigstore verification and signing ships as a gem and reaches production use within months, but it requires reimplementing many… | ||
| Running ruby.wasm on Pure Ruby Wasm Runtime | Uchio KONDO | 30m |
A pure-Ruby gem runtime implements the WebAssembly core spec and WASI common preview 1 and runs a ruby.wasm build of Ruby by implementing ~192 core… | ||
| Porting PicoRuby to Another Microcontroller: ESP32 | Yuhei Okazaki | 30m |
Ports PicoRuby to ESP32 (both ESP32-C3 RISC-V and Xtensa boards) using ESP-IDF, cross-compiles to produce ribmruby.a build, links it into an R2P2 project to… | ||
| API for docs | Soutaro Matsumoto | 30m |
RBS 3.9 and Steep 1.1.0 add features like generic defaults, comment-based ignore for errors, and receiver-type narrowing while inline RBS remains unfinished… | ||
| Analyzing Ruby Code in IRB | tomoya ishida | 30m |
IRB now combines Ripper tokenization with SyntaxTree/Prism parsing to do coloring, nesting, completion and execution checks, using Ripper lexer and… | ||
| On-the-fly Suggestions of Rewriting Method Deprecations | Masato Ohba | 28m |
A Ruby gem implements on-the-fly rewriting of deprecated method calls by intercepting calls, parsing the caller source with Prism, matching and transforming… | ||
| The Ruby One-Binary Tool, Enhanced with Kompo | ahogappa | 30m |
Kompo packages a Ruby runtime, gems, scripts and assets into a single executable and demonstrates running a full Ruby build inside a clean Docker container… | ||
| Ruby's Line Breaks | Yuichiro Kaneko | 29m |
Ruby’s line-break rule is if a line break can end a sentence it does, but lexer-driven exceptions exist. Lexer uses 13 flags and acts as a double automaton so… | ||
| State of Namespace | Satoshi "Moris" Tagomori | 28m |
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… | ||
| Bringing Linux pidfd to Ruby | Maciej Mensfeld | 29m |
Argues that Linux pidfd gives stable, race-free process references and fixes pid reuse and signal-race bugs; implements pidfd in Ruby via FFI calling the pidfd… | ||
| Parsing and generating SQLite's SQL dialect with Ruby | Stephen Margheim | 29m |
Plume is a pure-Ruby SQL toolset that parses SQLite’s permissive dialect (including missing commas between table constraints) and generates SQL; it implements… | ||
| 50.000 processed records per second: a CRuby & JRuby story | Cristian Planas | 25m |
An ETL microservice runs on JRuby to leverage JRuby + Elasticsearch Java client and Java language detection, processing peaks of 50,000 records/sec, typical… | ||
| Goodbye fat gem 2025 | Kouhei Sutou | 30m |
The talk argues to stop shipping prebuilt “fat” gems and shows concrete work: cross‑compiling is painful (11 Linux libc variants × 4 Ruby maintenance lines →… | ||
| Introducing Type Guard to Steep | Takeshi KOMIYA | 30m |
Adds a TypeGuard engine to Steep that actually narrows unions (PR #1497 merged, released in Steep 1.10) and recognizes calls like ActiveSupport's present/blank… | ||
| Making TCPSocket.new "Happy"! | Misaki Shioi | 30m |
Adds Happy Eyeballs v2 to TCPsocket.new implemented in C, reimplementing parallel name resolution per address family with detached threads, pipes and a single… | ||
| RuboCop: Modularity and AST Insights | Ito Koichi | 34m |
RuboCop replaces fragile monkeypatch injects with a formal plugin system where a plugin class extends Lintroller::Plugin and provides about, supported and… | ||
| Inline RBS comments for seamless type checking with Sorbet | Alexandre Terrasa | 29m |
Announces a working pipeline that lets Sorbet typecheck Ruby files with RBS comments instead of sig calls, translating comments into injected sig AST nodes… | ||
| TRICK 2025: Episode I | mame, the judges | 01h 03m |
A rundown of concrete tricks and results: a winning submission reads and slices the source file to jump to arbitrary lines and evaluates the cut-out, another… | ||
| A side gig for RuboCop, the Bookworm code crawler | David T. Crosby | 29m |
Bookworm is built on RuboCop and crawls hundreds of Chef cookbooks to extract AST information into a persistent knowledge base of keys, letting rules run… | ||
| SDB: Efficient Ruby Stack Scanning Without the GVL | Mike Yang | 30m |
SDB is a stack profiler that scans Ruby VM frames without the GVL by reading the ISQ field and synchronizing thread lifetimes, offloading symbolization and… | ||
| Speeding up Class#new | Aaron Patterson | 30m |
Reimplements Class#new in Ruby by adding two primitives — one to set the fcall flag on send and one to perform non‑monkey‑patchable allocation — and changing… | ||
| Demystifying Ruby Debuggers: A Deep Dive into Internals | Dmitry Pogrebnoy | 25m |
Ruby debuggers rely on tracepoint and ISeq to hook events and inspect compiled bytecode, and a benchmark using a Fibonacci loop over 100 runs shows byebug is… | ||
| Keeping Secrets: Lessons Learned From Securing GitHub | Dennis Pacewicz, Wei Lin Ngo | 29m |
A Rails view component uses an unvalidated dynamic call to send that allows zero-argument method dispatch; an attacker enumerates roughly 5,000+ then prunes to… | ||
| Running JavaScript within Ruby | Kengo Hamasaki | 26m |
A Ruby binding called quickjs_rb gem embeds QuickJS (C) to run modern ES2023 JavaScript inside Ruby with sandboxing, captured console logs, and a… | ||
| The Implementations of Advanced LR Parser Algorithm | Junichi Kobayashi | 32m |
Implements the 2010 ILR algorithm inside the Ruby LR generator Yammer and ships as an option in the 0.7 branch (clone GitHub to avoid an experimental bug)… | ||
| Write you a Barrier - Automatic Insertion of Write Barriers | Martin J. Dürst, Joichiro Okoshi | 31m |
WB Check is a static-analysis tool that finds where C extensions must call write barriers and can insert rb_obj_write calls automatically; it preprocesses… | ||
| Ruby Committers and the World CRuby Committers | Misaki Shioi, Yudai Takada | 01h 06m |
Six new committers join the core team, covering tests and flaky tests, modular GC and Prism, socket Happy Eyebrows v2, Puzzle-generated parsing, IRB/Reline… | ||
| nothing matches | ||