DEV Community

Ali Nour Al Din
Ali Nour Al Din

Posted on

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)