Rust Fearless Concurrency for Go Back-End Developers
Master Rust's unique approach to fearless concurrency, leveraging ownership, borrowing, and advanced primitives to build high-performance, data-race-free back-end services, contrasting with Go's CSP model.
...
Share
Rust's Concurrency Fundamentals: Ownership, Borrowing, and Threads
Unit 1: Rust's Memory Model for Concurrency
Ownership & Concurrency
Borrowing & Lifetimes
Unit 2: Spawning Threads and Message Passing
Spawning Threads in Rust
Channels for IPC
Channel Variations
Unit 3: Ensuring Thread Safety with Traits
The Send Trait
The Sync Trait
Shared State Concurrency and Advanced Synchronization
Unit 1: Guarding Shared State with Mutex
Mutex: The Rust Way
Locking and Unlocking
Interior Mutability
Unit 2: Sharing Ownership with Arc
Arc: Shared Ownership
Arc + Mutex: The Combo
Common Pitfalls & Solutions
Unit 3: Advanced Synchronization and Debugging
Condition Variables
Debugging Concurrency