Rust Tutorial Exercises
From ECOOP 2017 Summer School.
FYI: This page is at http://rust-tutorials.com/ECOOP17SS/.
Ownership
Shared borrows
Mutable borrows
Structs and such
Traits
Intro to threading
- Threads
- Extra credit #1: use channels instead
- Extra credit #2: or, instead of channels, use a mutex to compute the best price in
the parallel threads themselves
- Time: 10 minutes
Advanced lifetimes