Skip to content

Parallel algorithms

Category: Parallelism · Status: stub · Lessons: chapter 07, Parallelism

One line: Sorting, searching, graph and numeric algorithms rebuilt so that their work splits across cores — not always by the obvious split.

Also called: parallel sort, parallel search.

How it connects

In each language

Rust Rayon's par_sort and the other parallel slice methods
C++ the standard algorithms with an execution policy ↗ (C++17), such as std::sort(std::execution::par, ...)
Java Arrays.parallelSort

Where to read more