~/talk

Concurrency: Rubies, plural

Talkat RubyConf 2010 · 2010-11-11..11-13· [ruby]
slides:none on file

Compares concrete concurrency models and shows working code: Ruby Fibres bound to threads as coroutine implementations with enumerators, OS copy-on-write for forks and pipes for interprocess comms, thread queues and thread-local vars for shared-state avoidance, and a JRuby bridge using the closure_gen gem to exercise Software Transactional Memory. Demonstrations include parallel/map-reduce with the parallel and plists gems and evented servers with EventMachine or RevActor; examples compile and run and expose where performance or semantics break.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Gold Sponsors
  3. 3:25diminishing returns
  4. 4:27an aide to good design
  5. 6:16victims of choice
  6. 10:08icon coexpressions
  7. 11:52ruby fibers
  8. 12:48ruby coexpressions
  9. 14:05ruby coroutines
  10. 14:52icon revisited
  11. 16:46processes + threads
  12. 17:31schedulers
  13. 18:28feature comparison
  14. 21:41forking
  15. 23:29context switching
  16. 25:07shared state hurts
  17. 27:00semaphores
  18. 27:25synchronising processes
  19. 28:55complexity
  20. 29:31threads under the hood
  21. 30:19the global lock
  22. 31:25synchronisation
  23. 32:53threads + sockets
  24. 35:29the macruby twist
  25. 39:05vector processing
  26. 39:30map/reduce
  27. 39:52a two-phase operation
  28. 41:48process calculi
  29. 43:46a signal generator
  30. 46:40erlang
  31. 49:22rubinius actors
  32. 50:15ruby revactor
  33. 50:57promises + futures
  34. 51:46ruby futures
  35. 52:24reinventing?
~/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.