- 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
- Goal: implement
- 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
- Goal: modify parallel
- Shared memory:
- Goal: Adapt your previous code to use
Arc
- Extra bonus: How can you minimize cloning the underlying shopping list?
- Time: 10 minutes
- Goal: Adapt your previous code to use
- 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.