Skip to content

Latest commit

 

History

History

9

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Episode 9 - Go Vs Rust - Concurrency And Race Conditions

YouTube video thumbnail ▶ Watch now on Youtube!

It's hard to put into words what I like about Rust. Easier to show with a quick example about concurrency and borrowing. Capturing the "Magic of Rust" is not easy. Luckily, I found a simpler way: show how Rust prevents race-conditions and guides us towards a safe, idiomatic solution. We will port a little Go CLI tool to Rust and compare both solutions in terms of safety, error handling, and concurrency patterns.

If you like to get notified about new episodes, please subscribe to my channel 😊.

Keywords: race-conditions, ownership, mutex, concurrency, rayon, golang, rustlang

Things I mentioned during the show

Errata and improvements

It might come as a surprise to you, but every once in a while even I make a mistake.
This section covers all improvements made to the code since the epsiode went live.
For an exhaustive list of all changes to the original code, go here. Thanks to all contributors!

Meta

  • Color scheme: JetJet Alternate for VSCode

Resources and licenses

Support!

Preparing, recording, and editing an episode takes a substantial amount of time (around 30 hours total). I do all of this next to my fulltime dayjob. If you want to show your appreciation and help me keep the content free for everybody to enjoy, please consider sponsoring me on Github - no matter the amount. ❤️