Percorso di apprendimento

Collezioni, iteratori e thread

Hash map, iteratori, closure e moduli, poi thread, canali e stato condiviso.

8 lezioni · 11 sfide

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