Учебный трек

Коллекции, итераторы и потоки

Хеш-таблицы, итераторы, замыкания и модули, затем потоки, каналы и общее состояние.

Уроков: 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.