Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture introduces Scala parallel collections, including the parallel counterparts of sequential traits and how to write parallelism-agnostic code using generic collection traits. It covers converting sequential collections to parallel, parallelizable collections like ParArray and ParVector, and computing set intersection. The lecture also discusses side-effecting operations, avoiding mutations without synchronization, and concurrent modifications during traversals. It concludes with the exception to these rules using TrieMap for efficient state grabbing in parallel operations.