gotchaMajor
Difference between Parallel and Concurrent programming?
Viewed 0 times
programmingdifferencebetweenparallelandconcurrent
Problem
When looking at concurrent programming, two terms are commonly used i.e. concurrent and parallel.
And some programming languages specifically claim support for parallel programming, such as Java.
Does this means parallel and concurrent programming are actually different?
And some programming languages specifically claim support for parallel programming, such as Java.
Does this means parallel and concurrent programming are actually different?
Solution
Distinguish parallelism (using extra computational units to do more work per unit time) from concurrency (managing access to shared resources). Teach parallelism first because it is easier and helps establish a non- sequential mindset.
From " A Sophomoric∗ Introduction to Shared-Memory Parallelism and Concurrency" by
Dan Grossman (version of November 16, 2013)
From " A Sophomoric∗ Introduction to Shared-Memory Parallelism and Concurrency" by
Dan Grossman (version of November 16, 2013)
Context
StackExchange Computer Science Q#19987, answer score: 26
Revisions (0)
No revisions yet.