~/talk

Parallel programming in Ruby3 with Guild

Talkat RubyConf 2018 · 2018-11-28..11-30· [ruby]
slides:none on file

Guild is a new concurrent abstraction for Ruby 3 that prohibits sharing mutable objects by default and defines four kinds of shareable values plus copy and move semantics for sending data between Guilds. A buggy prototype implements master‑worker Guilds and shows a surprising 15–16× speedup on a 40‑virtual‑CPU Fibonacci workload but also a real problem where a word‑count demo runs slower because GC causes slowdowns due to naive locking and incomplete GC/VM synchronization.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Presentation
  3. 1:43Photo
  4. 2:06Performance improvement
  5. 3:02Transient Heap
  6. 6:31Transient Hip
  7. 7:29Summary
  8. 8:14Guild background
  9. 9:57Guild concurrent abstraction
  10. 12:02Sharing mutable objects
  11. 13:13Sharing local objects
  12. 13:33Non shareable projects
  13. 14:28Non shareable objects
  14. 15:14Immutable objects
  15. 18:10Special objects
  16. 19:47Isolation
  17. 21:20Shared Project
  18. 21:57Shared Objects
  19. 24:53Copy Semantics
  20. 26:21IO Objects
  21. 26:55IO Summary
  22. 27:31CSP Model
  23. 29:05Retrieve multiple channels
  24. 29:59Retrieve multichannel
  25. 30:24JavaScript
  26. 30:43Channel Toggle
  27. 31:21Channel Case
  28. 31:52Special Context
  29. 32:02Finegrained synchronization
  30. 32:29Garbage collection
  31. 32:46Features
  32. 33:49Naming
  33. 34:04Guild name
  34. 34:17Guild code name
  35. 34:39Preparing the 40 virtual CPUs
  36. 35:04Worker model
  37. 36:26Execution time
  38. 36:56Speedup ratio
  39. 38:27QA 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.