Search⌘ K

Concurrency vs. Parallel Programming

Explore the concepts of concurrency and parallel programming to understand how multiple tasks can be handled simultaneously or concurrently within an application. This lesson uses real-life examples to clarify these differences and prepares you to build a Python API that supports concurrent processing.

Intro to concurrent programming

Concurrent programming refers to when an application is making progress on more than one task at the same time (concurrently). If the computer has only one CPU, the application may not make progress or execute on more than one task at the same time, but more than one task is being processed at a time inside the application. It ...