~/talk

Rayon: Data Parallelism for Fun and Profit

Talkat Rust Belt Rust 2016 · 2016-10-27..10-28· [rust]
slides:none on file

Library lets Rust code go parallel by a one-line change and a Prelude import: change iter to par_iter. Implementation uses a work-stealing thread pool and a fork-join primitive called join; parallel iterators split work, use par_iter_mut for disjoint mutation, and require reduce (not fold) for associative combines. Rust’s ownership model prevents undefined data races but shared counters need atomics or mutexes. Materials at speakerdeck link accompany the talk.

AI-written summary · about

  1. 0:00Start
  2. 0:46Data Parallelism
  3. 3:01Data Race
  4. 4:37Structure of Rayon
  5. 5:14Parallel Iterators
  6. 6:43Shared State
  7. 10:11Atomic Types
  8. 11:14Sequentially Consistent Ordering
  9. 18:26Divide and Conquer
~/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.