Trilha de aprendizado

Coleções, iteradores e threads

Hash maps, iteradores, closures e módulos, depois threads, canais e estado compartilhado.

8 lições · 11 desafios

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