~/talk

Ferrari Driven Development: superfast Ruby with Rubex

Talkat RubyKaigi 2018 · 2018-05-31..06-02· [ruby, compilers-and-language-design]
slides:none on file

Rubex compiles a Ruby-like language into C extensions (compiler written in Ruby) and produces working shared objects that plug into CRuby; example: an array-to-hash routine runs about 1.6× faster than pure Ruby. Struct wrappers use an attach keyword so Ruby objects map directly to C structs with about 3× fewer lines of code. A no-GIL block lets worker threads hit near 100% CPU so threaded numeric tasks show order-of-magnitude speedups.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:54Problem with C extensions
  3. 5:18Introducing Rubex
  4. 8:10Rubex performance benefits
  5. 11:20C data type interfacing
  6. 14:09Managing C code in Rubex
  7. 16:47Releasing GIL for threading
  8. 20:46Exception handling in Rubex
  9. 22:12Rubex vs Ruby vs C
  10. 23:16Future of Rubex and Ruby
  11. 26:29Ruby plot and other projects
  12. 27:56Q&A session
~/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.