Concurrent programming
What is concurrency in programming?
Concurrency includes:
┌─────────────────────────────────────┐
│ CONCURRENCY │
│ (Multiple tasks in progress) │
│ │
│ ┌──────────────────────────────┐ │
│ │ Without Parallelism │ │
│ │ - Async (single thread) │ │
│ │ - Threads (with GIL) │ │
│ └──────────────────────────────┘ │
│ │
│ ┌──────────────────────────────┐ │
│ │ With Parallelism │ │
│ │ - Multiprocessing │ │
│ │ - Threads (no GIL langs) │ │
│ └──────────────────────────────┘ │
└─────────────────────────────────────┘Concurrency
Parallelism
All Three Are Concurrent:
Asynchronous programming
Last updated