เส้นทางการเรียนรู้

Collection, Iterator และ Thread

Hash map, iterator, closure และ module จากนั้นเรียน thread, channel และ state ที่ใช้ร่วมกัน

บทเรียน 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.