~/talk

Writing concurrent libraries for all Ruby runtimes

Talkat RubyConf 2015 · 2015-11-15..11-17· [ruby]
slides:none on file

A concurrent future is built step by step starting from Ruby mutexes and condition variables then exploiting MRI’s GVL volatile semantics and finally using atomic primitives and a wait list to avoid locks the implementation uses compare-and-set loops, full memory fences, Java synchronized and thread nodes and targets MRI JRuby JRuby+Truffle Rubinius compatibility the final version runs correctly across runtimes and shows JRuby+Truffle microbenchmarks about 15 times faster than MRI while eliminating the last blocking critical section

AI-written summary · about

  1. 0:00Start
  2. 0:47Concurrent Ruby
  3. 6:41Implementation
  4. 7:25Simple Background Processing
  5. 11:41Mri Implementation
  6. 14:51Performance Improvement
  7. 16:47Atomic Reference
  8. 19:41Memory Model
  9. 21:17Concurrent Synchronization Object
  10. 31:00Conclusion
~/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.