Rust - Parallel Programming (RUST4)

Programming, Rust

Learn how Rust supports building safe, reliable multithreaded applications and clarify design options for concurrent systems. The language emphasizes memory safety, provides coroutines for async control flow and libraries like Tokio for scheduling and asynchronous I/O.

Practice using coroutines to write asynchronous code that reads like synchronous code, while the Tokio runtime schedules tasks and handles async I/O. You will learn to build both single-threaded async services and multithreaded programs that scale with your hardware.

Location, current course term

Contact us

Custom Customized Training (date, location, content, duration)

The course:

Hide detail
  • Building parallel programs
    1. Rust 2018/2021 editions
    2. Standard library support
    3. Hardware characteristics
  • Rust safety features
    1. Restricting data sharing
    2. Static code checks
    3. Ownership and data passing
  • Parallel threads
    1. Spawning and waiting
    2. Retrieving results
    3. Tasks and coroutines
  • Communication between threads
    1. Message passing
    2. Producer and consumer patterns
    3. Thread shutdown and cleanup
  • Memory access concurrency
    1. Concurrent writes
    2. Reading concurrently written memory
    3. Memory coherence
  • Atomic variables
    1. Accessing atomic variables
    2. Atomic operations
    3. Memory barriers
  • Coroutines and parallelism
    1. Asynchronous code patterns
    2. Waiting for events
    3. Cooperative tasks
  • Shared data structures
    1. Mutual exclusion and locking
    2. Waiting for events
    3. Signalling and notifications
Assumed knowledge:
Basic Rust experience and familiarity with Cargo and the command line.
Recommended previous course:
Rust - Generic Programming (RUST3)
Recommended subsequent course:
Rust - Design Patterns (RUST5)
Schedule:
3 days (9:00 AM - 5:00 PM )
Course price:
736.00 € ( 890.56 € incl. 21% VAT)
Language: