~/talk

An mruby for WebAssembly

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby, webassembly]
slides:none on file

An mruby-for-WebAssembly prototype compiles Ruby (via mrbc) into a single wasm that runs in browser and Wasm runtimes using a Rust VM and shows concrete numbers: a Fibonacci wasm is 174 KB wasm for fib, runtime supports RBS-signatured import/exports and requires explicit pointer/length string passing through linear memory, and it uses mrbc and a Rust VM to build the wasm. Performance: cold boot is boots in milliseconds vs ~7s for CRuby and CPU throughput is currently tens to hundreds× slower than native JS with room to improve.

AI-written summary · about

  1. 0:00Introduction
  2. 5:51WebAssembly basics
  3. 14:58mruby basics
  4. 21:53mruby for WebAssembly
  5. 28:52Performance evaluation
  6. 30:42Conclusion and Q&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.