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








