Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 1.19 KB

index-template.md

File metadata and controls

30 lines (28 loc) · 1.19 KB

Rust concurrency tutorial

  • Hello World:
    • Goal: make it greet you by name
    • Time: 3 minutes
  • Borrowing:
    • Goal: convert this code to use borrowing instead so that it compiles
    • Time: 3 minutes
  • Sequential search:
    • Goal: implement find_best_store
    • Time: 10 minutes
  • Parallel search:
    • Goal: make this actually run in parallel
    • Hint: you will have to stop cloning the store name
    • Time: 10 minutes
  • Channels:
    • Goal: modify parallel find_best_store to use channels
    • Extra bonus: modify to make each store an actor and use RPC
    • Time: 10 minutes
  • Shared memory:
    • Goal: Adapt your previous code to use Arc
    • Extra bonus: How can you minimize cloning the underlying shopping list?
    • Time: 10 minutes
  • Introduce mutex:
    • Goal: Adapt your previous code to introduce a mutex and use it to find the best price
    • Time: 10 minutes

Thank you for coming to the tutorial! Before you go, please let me know what you thought at this Google form.