Zoos Rust Club [Episode 6] - Parallelism @zoodotdev
Zoos Rust Club [Episode 6] - Parallelism  @zoodotdev
Uploaded May 2024 | Updated September 2026, 1 week ago
Welcome back to Zoo's Rust Club!

*What's in store for you:*
πŸ”· Use threads to split up computation across all your CPU cores
πŸ”· Use Rayon to run iterators in parallel
πŸ”· Using Tokio to wait on many IO events simultaneously

BUT If you haven't seen our first Rust Club video, check it out here ➑️ youtube.com/watch?v=QF3kMyzMC40

---------------------------------------------------------------------------------------

Timestamps

00:00 Intro
02:07 Parallelism in Rust
02:59 Using Rayon
04:10 Fibonacci example
08:15 Set up the Fibonacci example to make it easier to parallelize
09:33 Parallelizing iterator with Rayon
18:30 Rayon Parallel Iterator Traits
21:15 Trying parallelism with Tokio
28:18 Mistake was made! Find out what it was... or skip to the next time stamp
42:51 Mistake was found and fixed!
46:10 Rayon vs Tokio Crossbeam time comparison
46:43 Doing it the proper Tokio way
48:49 Rayon vs Tokio Crossbeam vs Tokio async channels time comparison
59:39 Trying parallelism without Rayon or any other libraries
1:05:18 Manual threading time comparison
1:16:30 Manual threading + batches time comparison

---------------------------------------------------------------------------------------

β‡Š Check us out below β‡Š
Website: https://zoo.dev/
Github: github.com/KittyCAD
LinkedIn: linkedin.com/company/zoodotdev
Twitter: twitter.com/zoodotdev
Discord: discord.com/invite/JQEpHR7Nt2

---------------------------------------------------------------------------------------

*Zoo* creates infrastructure for hardware design. Design demands have outpaced today’s hardware design infrastructure, and the industry is due for a refresh. We're laying the foundation for a modern hardware design toolkit, so that you can create new design tools never before possible.

#hardware #software #Zoo
Zoos Rust Club [Episode 6] - ParallelismNerds on Patrol [Episode 4] - Elevated MaterialsBoolean Operations: Union, Subtract & Intersect in Zoo Design StudioKCL: Holes and 2D patternsWhat Is Zookeeper? A Tour of the Conversational CAD AgentHow to Iterate on a Design Using ZookeeperKCL Introduction: From zero to triangleTransformations: Translate, Rotate, Scale, Clone & Mirror in Zoo Design StudioZoos Rust Club [Episode 5] - Operators and TraitsUI Overview in Zoo Design StudioChick-Approved!KCL: Sketches, lines and curves
Zoo |

Zoo's Rust Club [Episode 6] - Parallelism

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER