लर्निंग पाथ

Collection, Iterator और Thread

Hash map, iterator, closure और module, फिर thread, channel और साझा स्टेट।

8 पाठ · 11 चैलेंज

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