~/talk

Write you a Barrier - Automatic Insertion of Write Barriers

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

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 sources with gcc -E and parses C99 with Tsurishitta to follow TypedData uses and field writes. A run on data_core.c reports 10 detected reference-change sites and shows some missing barriers and some already-corrected sites. Current limits: only memcpy is recognized, array/field pointer aliases are undertracked, and preprocessing automation is manual; source code is published for feedback.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 5:37Write barriers in Ruby GC
  3. 14:24WB Check tool overview
  4. 26:21Tool demo and results
  5. 28:59Future improvements
  6. 30:09Q&A
~/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.