Rayon: Data Parallelism for Fun and Profit - Nicholas Matsakis

  Рет қаралды 29,582

Rust Belt Rust Conference

Rust Belt Rust Conference

7 жыл бұрын

Materials for this talk are available at speakerdeck.com/nikomatsakis/...
Rayon is a convenient library for adding parallelism into Rust programs. Rayon allows you to easily convert for loops using iterators to run in parallel, as well as recursive functions. Under the covers, Rayon uses work-stealing to dynamically balance your parallel processing, allowing it to scale gracefully to different numbers or processors and a diverse range of workloads. Best of all, thanks to Rust's ownership and borrowing sytem, using Rayon is guaranteed not to add data races to your programs. This talk will summarize how you can use Rayon in your own programs, as well as lifting the covers to show how Rayon itself is implemented.
www.rust-belt-rust.com/

Пікірлер: 10
@StefaNoneD
@StefaNoneD 7 жыл бұрын
This was really fun to listen! Really concise and informative talk! :) Makes lust to dive into Rust just because of this library!
@jptbaba
@jptbaba 5 жыл бұрын
Like to see more Niko's talk on rust
@Siniverisyys
@Siniverisyys 4 жыл бұрын
Wow very cool! Will definitely use this. Also, great explanation! You're very easy to understand.
@DmitryVoytik
@DmitryVoytik 6 жыл бұрын
Thank you Nicholas! Very nice talk.
@snarkyboojum
@snarkyboojum 4 жыл бұрын
Assuming on slide at 8:39, that's supposed to be counts.par_iter_mut(), not paths.par_iter_mut()?
@vadzimdambrouski5211
@vadzimdambrouski5211 7 жыл бұрын
Great talk, thank you!
@alishaaneja2291
@alishaaneja2291 7 жыл бұрын
Too informative! Thanks
@hbgl8889
@hbgl8889 7 жыл бұрын
How would the 12:50 example look like with separate counters and adding them up at the end? Having a shared atomic counter is kinda bad.
@shirshak6738
@shirshak6738 4 жыл бұрын
he had mentioned you can do it :) I think that basically how reduce works.
Polonius: Either Borrower or Lender Be, but Responsibly - Niko Matsakis
35:29
Rust Belt Rust Conference
Рет қаралды 17 М.
Lightning talk - Why maintaining winit is hard - Holden Marcsisin
5:14
Rust Belt Rust Conference
Рет қаралды 3,9 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 4,4 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 11 МЛН
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 26 МЛН
Introducing Rust into a Legacy Embedded System - Steven Walter
25:41
Rust Belt Rust Conference
Рет қаралды 4,4 М.
Why does this Rust program leak memory?
35:24
fasterthanlime
Рет қаралды 56 М.
The Death and Rebirth of Docs.rs - Quiet Misdreavus
17:55
Rust Belt Rust Conference
Рет қаралды 1,7 М.
Gonzalo Brito - A parallel Lattice-Boltzmann CFD solver using rayon
28:15
Scientific Computing in Rust
Рет қаралды 1,7 М.
RustLatam 2019 - Without Boats: Zero-Cost Async IO
32:24
Type Theory for the Working Rustacean - Dan Pittman
19:24
Rust Belt Rust Conference
Рет қаралды 16 М.
std threads vs tokio Runtime
5:34
Dodgy Coding
Рет қаралды 17 М.
Traits and You: A Deep Dive - Nell Shamrell-Harrington
22:09
Rust Belt Rust Conference
Рет қаралды 39 М.
Rust Programming Techniques
1:32:02
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 94 М.
The Story of Stylo: Replacing Firefox's CSS engine with Rust - Josh Matthews
32:29
Rust Belt Rust Conference
Рет қаралды 16 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,1 МЛН
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57
SSD с кулером и скоростью 1 ГБ/с
0:47
Rozetked
Рет қаралды 365 М.