liveBook · Manning

Parallelism

As explained in Functional Design and Architecture: Examples in Haskell

The simultaneous execution of multiple computational activities.

Parallelism is the simultaneous execution of multiple computational activities. In software design, it is a goal to weigh alongside correctness, determinism, and simplicity when choosing tools and approaches. section 1.2.1

Programming approaches differ in how they handle parallel work:

  • Imperative code can make parallel and distributed programming painful when it is difficult to control side effects and state. section 1.5
  • Functional programming uses ideas such as immutability, purity, and safely represented side effects to make parallelism easier to reason about. section 1.5 section 1.2.1

How Functional Design and Architecture: Examples in Haskell covers it

How deep it goes
Explains why functional techniques ease reasoning about parallelism, but stops before implementation details.
What you can do after
Evaluate programming approaches for how simply they support reasoning about parallelism and correctness.
How it connects
Links parallelism to functional programming, immutability, purity, side effects, state, and distributed programming.

Also explained in

Compare how 42 books explain parallelism →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Functional Design and Architecture: Examples in Haskell. The section links point to the parts of the book it draws on.