What would you talk about in chapter 1 if you were writing a book on Swift concurrency?

The Swift's approach to concurrency looks promising, but there is very little in the way of a top-down style, unified, structured documentation.

This makes it pretty easy for the novice to use the concurrency features unwisely.

Currently, the evolution proposals are the source of truth, but they are quite technical, written by experts for experts.

What fundamental concepts would you articulate in chapter 1 if you were writing a book on Swift concurrency?

So, here is your chance to get on the soapbox. :slight_smile:

4 Likes

Probably will split into several topics:

  • historical background, problems
  • what is concurrency, parallelism
  • async/await core concepts (something like in F#)
  • actors, but not in isolate state context, rather a model which helps you build a concurrent apps.
3 Likes