~/talk

ruby.wasm also enables JavaScript to call Ruby libraries.

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, webassembly]
links:none on file
slides:none on file

ruby.wasm now targets calling Ruby from JavaScript by adding a minimal loader and improving value wrappers: Node.js demo uses jsrequire_local to load doc.rb, eval Doc.new, then invoke methods via call("bow") and read properties with call("count_to_bows") followed by to_string. Current gaps: RbValue only converts String, method calls must use call, and no high-level eval_file yet. Binary sizes are ~31 MB uncompressed (≈8 MB gzipped). Work continues on richer conversions, eval_file, and seamless type mapping.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:52Calling JavaScript from Ruby
  3. 13:13Why ruby.wasm isn't used in production
  4. 17:07Possibilities of calling Ruby from JavaScript
  5. 21:11Ruby's Blanket project overview
  6. 29:02Future plans and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.