Knaph

Concurrency

Writing a program as several tasks whose lifetimes overlap, so one can make progress while another waits.

Depth 1 · Foundation

You can tell waiting from computing, and see that overlapping the waits makes a job take about as long as its slowest task instead of the sum of all of them.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You can tell waiting from computing, and see that overlapping the waits makes a job take about as long as its slowest task instead of the sum of all of them.

  2. 2

    Deeper

    You organise concurrent work as a few workers taking jobs from a queue and sending back results, so threads share messages instead of variables.

Your path here

What's still between you and Concurrency, depth 1, in the order you can learn it.

  1. 1ProgramDepth 1 · Foundation · Program Basics
  2. 2ExpressionDepth 1 · Foundation · Program Basics
  3. 3Variables in codeDepth 1 · Foundation · Program Basics
  4. 4Program stateDepth 1 · Foundation · Program Basics
  5. 5Input and outputDepth 1 · Foundation · Program Basics
  6. 6Functions in codeDepth 1 · Foundation · Functions
  7. 7ConcurrencyDepth 1 · Foundation · Concurrency

Where it fits