~/talk

Parallel Programming in Rust: Techniques for Blazing Speed

Talkat Rust Nation UK 2025 · 2025-02-19..02-20· [rust]
links:none on file
slides:none on file

Claims concrete speedups by using Rayon parallel iterators for task‑parallel data processing, shows a small case fetching crate metadata (surprising tens of Rust crates) and profiles hotspots with Inferno flame graphs and perf. Demonstrates atomics, lock‑free queues and channel choices, CPU affinity via libc/ncpu, SIMD with portable_simd and explicit target/feature dispatch, and experiments with GPU kernels using rust‑cuda; shows which techniques required unsafe, which were easy wins, and when engineering effort outweighs the measured benefit.

AI-written summary · about

  1. 0:00Parallel programming in Rust
  2. 1:19Concurrency vs parallelism vs asynchronicity
  3. 7:47Task-based data parallelism with Rayon
  4. 13:57CPU affinity and hardware optimizations
  5. 17:06Measuring performance with profiling tools
  6. 20:13Shared state vs message passing
  7. 28:15Lock-free algorithms and atomics
  8. 33:06SIMD instructions for data parallelism
  9. 39:12Portable SIMD optimizations
  10. 41:47Cache line alignment and memory
  11. 44:55GPU programming in Rust
  12. 48:16High-performance parallel Rust
  13. 50:31Q&A
~/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.