DEV Community

Ali Nour Al Din
Ali Nour Al Din

Posted on

4

Sequential vs Concurrent vs Parallel

Image descriptionSequential programming involves executing instructions one after the other in a linear fashion, with each instruction completing before the next one starts.

Concurrent programming allows multiple tasks to make progress together, often by interleaving their execution. It doesn't necessarily mean they run simultaneously but rather share CPU time.

Parallel programming involves simultaneously executing multiple tasks or instructions on multiple processors or cores, truly running in parallel, aiming to improve overall processing speed.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more