~/talk

Ruby, Opal and WebAssembly

Talkat RubyKaigi 2017 · 2017-09-18..09-20· [webassembly, ruby-on-rails]
slides:none on file

DXOpal ships a playable Ruby-to-JS game framework that runs entirely in the browser (single folder with index.html, main.rb and opal runtime), uses Canvas, WebAudio and Matter.js for physics, and attempts to speed up heavy math by compiling a C triangle‑triangle collision routine to WebAssembly. Benchmarks show JS collision code ~45 ms versus Wasm ~52 ms so no big win; result: Opal + existing JS libraries works well today and WebAssembly helps in some C‑heavy or hard‑to-port cases. DXOpal (Opal game framework) triangle‑triangle collision C→Wasm measured JS ≈ Wasm (45→52 ms)

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:12Introducing Opal Ruby
  3. 5:39Creating dxOpal for browser games
  4. 9:51Demo of dxOpal in action
  5. 10:11Adding physics with Matter.js
  6. 11:39Running games without Ruby installation
  7. 15:41Opal and WebAssembly overview
  8. 18:53WebAssembly basics and asm.js
  9. 24:02WebAssembly benefits and browser support
  10. 24:50Integrating WebAssembly with dxRuby
  11. 25:56Performance comparison results
  12. 26:58Future of Ruby on WebAssembly
  13. 33:18Conclusion and Opal recommendation
  14. 35:03Q&A session
~/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.