~/talk

dRuby on Browser Again!

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

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 implements sockets and a server side to support callbacks). A browser demo shows a server-stored object incrementing across two browsers but is flaky at scale. WANZ provides a TCP-like WebSocket abstraction so the same code runs in CRuby and the browser, using the JS gem’s promise scheduler and NodeWadji/Wazoom for unit tests.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 2:00History of Ruby in browser
  3. 4:26What is dRuby
  4. 7:22Live demo of dRuby
  5. 8:28Technical implementation of dRuby
  6. 11:29Demo challenges and issues
  7. 13:49Using dRuby for slides
  8. 14:11Problems with RubyWasm
  9. 17:03Conclusion of first talk
  10. 17:50Second speaker introduction
  11. 18:34WANZ library overview
  12. 21:13Synchronous API in browser
  13. 24:09Promise scheduler in RubyWasm
  14. 25:59Testing WANZ across environments
  15. 27:26WANZ concept and future
  16. 29:19Closing remarks
~/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.