Lộ trình học

Collection, iterator và thread

Hash map, iterator, closure và module, sau đó là thread, channel và trạng thái dùng chung.

8 bài học · 11 thử thách

  1. Bài học 2 thử thách Hash Maps Store and look up values by key with HashMap.
  2. Bài học 2 thử thách Word Frequency Counter Count how often each word appears with a HashMap.
  3. Bài học 2 thử thách Iterators Process collections with filter, map, sum and other iterator methods.
  4. Bài học 1 thử thách Closures Write anonymous functions that capture variables around them.
  5. Bài học 1 thử thách Modules and Visibility Organize code into modules and choose what is public with pub.
  6. Bài học 1 thử thách Threads Run code in parallel with thread::spawn and collect the results with join.
  7. Bài học 1 thử thách Channels Send messages from one thread to another with mpsc::channel.
  8. Bài học 1 thử thách Shared State with Arc and Mutex Let several threads change one value safely.