Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?

Liste des GroupesRevenir à c arch 
Sujet : Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.arch
Date : 21. May 2025, 20:30:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwvecwhixg6.fsf-monnier+comp.arch@gnu.org>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Gnus/5.13 (Gnus v5.13)
Processes on the same core are concurrent - processes on different
cores are parallel.
Only if the cores and/or "hardware threads" do not interfere with one
another?
That’s why I think the distinction is meaningless.

If you're talking about a set of processes running concurrently or in
parallel, then indeed the two terms are interchangeable, AFAIK.
If you're talking about research areas, parallelism and concurrency are
different.

In the case of concurrency the core question is: Given a set of somewhat
independent tasks working on some chunks of data, make sure the computed
result is correct, e.g. design tools like mutexes, memory barriers,
transactional memory, static analysis, reasoning principles, etc...
whose core focus is on making sure there's no race conditions, dead
locks, ...

In the case of parallelism, the core question instead is: given
a program/algorithm, restructure (or even completely replace) it so as
to divide it into somewhat independent tasks that can take advantage of
multiple CPUs to finish the work faster.

Clearly, the two overlap, but they are nevertheless fairly different.


        Stefan

Date Sujet#  Auteur
10 May 25 * Is Parallel Programming Hard, And, If So, What Can You Do About It?117Thomas Koenig
11 May 25 +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?86MitchAlsup1
11 May 25 i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?85Al Kossow
12 May 25 i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?84Lawrence D'Oliveiro
12 May 25 i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?83MitchAlsup1
12 May 25 i   `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?82Lawrence D'Oliveiro
12 May 25 i    +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2MitchAlsup1
12 May 25 i    i`- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
12 May 25 i    `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?79Terje Mathisen
12 May 25 i     +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?3Anton Ertl
12 May 25 i     i+- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
13 May 25 i     i`- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stephen Fuld
12 May 25 i     `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?75Lawrence D'Oliveiro
13 May 25 i      +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?4Stefan Monnier
13 May 25 i      i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?3Lawrence D'Oliveiro
13 May 25 i      i +- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stefan Monnier
13 May 25 i      i `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stephen Fuld
13 May 25 i      +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?69Anton Ertl
13 May 25 i      i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?68Lawrence D'Oliveiro
13 May 25 i      i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?67Stephen Fuld
14 May 25 i      i  +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?56Lawrence D'Oliveiro
14 May 25 i      i  i+* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?53Stephen Fuld
18 May 25 i      i  ii`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?52Lawrence D'Oliveiro
19 May01:10 i      i  ii +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?6Lynn Wheeler
19 May21:46 i      i  ii i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?5Vir Campestris
19 May22:58 i      i  ii i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?4Stephen Fuld
20 May11:22 i      i  ii i  +- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Vir Campestris
21 May03:38 i      i  ii i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2Lynn Wheeler
21 May04:49 i      i  ii i   `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stephen Fuld
19 May01:18 i      i  ii `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?45MitchAlsup1
20 May00:33 i      i  ii  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?44MitchAlsup1
20 May01:36 i      i  ii   `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?43Lawrence D'Oliveiro
20 May06:16 i      i  ii    `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?42BGB
20 May15:49 i      i  ii     +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?40Stefan Monnier
20 May18:42 i      i  ii     i+* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2BGB
20 May19:35 i      i  ii     ii`- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stephen Fuld
21 May01:29 i      i  ii     i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?37Lawrence D'Oliveiro
21 May02:08 i      i  ii     i +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?32BGB
21 May04:46 i      i  ii     i i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?31Lawrence D'Oliveiro
21 May04:58 i      i  ii     i i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?30Stephen Fuld
21 May18:19 i      i  ii     i i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?29Anton Ertl
22 May03:19 i      i  ii     i i   +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?27George Neuner
22 May07:51 i      i  ii     i i   i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?26BGB
22 May13:12 i      i  ii     i i   i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?25Torbjorn Lindgren
22 May18:39 i      i  ii     i i   i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?24BGB
22 May23:41 i      i  ii     i i   i   `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?23Lawrence D'Oliveiro
23 May00:36 i      i  ii     i i   i    `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?22BGB
23 May15:21 i      i  ii     i i   i     +* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?19John Levine
23 May16:17 i      i  ii     i i   i     i+* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?12MitchAlsup1
23 May17:57 i      i  ii     i i   i     ii`* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?11Stephen Fuld
23 May18:43 i      i  ii     i i   i     ii `* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?10MitchAlsup1
24 May01:26 i      i  ii     i i   i     ii  +* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?7BGB
24 May18:32 i      i  ii     i i   i     ii  i`* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?6BGB
24 May21:36 i      i  ii     i i   i     ii  i +* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?3John Levine
24 May22:45 i      i  ii     i i   i     ii  i i`* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?2Michael S
24 May22:54 i      i  ii     i i   i     ii  i i `- Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?1BGB
24 May22:07 i      i  ii     i i   i     ii  i `* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?2MitchAlsup1
24 May23:26 i      i  ii     i i   i     ii  i  `- Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?1BGB
24 May23:17 i      i  ii     i i   i     ii  `* Re: recycling2Brian G. Lucas
25 May07:24 i      i  ii     i i   i     ii   `- Re: recycling1George Neuner
23 May16:53 i      i  ii     i i   i     i`* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?6BGB
23 May18:34 i      i  ii     i i   i     i `* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?5BGB
24 May06:38 i      i  ii     i i   i     i  `* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?4BGB
24 May17:57 i      i  ii     i i   i     i   +* Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?2MitchAlsup1
24 May20:24 i      i  ii     i i   i     i   i`- Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?1BGB
24 May22:45 i      i  ii     i i   i     i   `- Re: the power of junk, Is Parallel Programming Hard, And, If So, What Can You Do About It?1BGB
23 May17:34 i      i  ii     i i   i     `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2jseigh
23 May17:39 i      i  ii     i i   i      `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1BGB
22 May12:32 i      i  ii     i i   `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Dan Cross
21 May04:54 i      i  ii     i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?4Stephen Fuld
21 May06:39 i      i  ii     i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?3Lawrence D'Oliveiro
21 May07:42 i      i  ii     i   +- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stephen Fuld
21 May08:08 i      i  ii     i   `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1BGB
21 May01:57 i      i  ii     `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
14 May 25 i      i  i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2John Levine
14 May 25 i      i  i `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Thomas Koenig
23 May01:18 i      i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?10Waldek Hebisch
23 May06:35 i      i   +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?5Lawrence D'Oliveiro
23 May07:09 i      i   i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?4BGB
23 May13:36 i      i   i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?3MitchAlsup1
23 May17:29 i      i   i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2BGB
24 May04:17 i      i   i   `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
23 May16:28 i      i   `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?4Stephen Fuld
23 May22:03 i      i    +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2Stefan Monnier
24 May17:23 i      i    i`- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Stephen Fuld
23 May23:19 i      i    `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
18 May 25 i      `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
19 May22:33 +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?29quadibloc
20 May01:43 i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?28Lawrence D'Oliveiro
20 May19:19 i `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?27BGB
20 May21:06 i  +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?23Stefan Monnier
20 May23:11 i  i+* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?20MitchAlsup1
21 May01:34 i  ii+- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
21 May02:00 i  ii+- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
21 May02:30 i  ii+* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?8George Neuner
21 May02:39 i  iii`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?7Chris M. Thomasson
21 May04:41 i  iii +* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?4Lawrence D'Oliveiro
21 May17:09 i  iii i+- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1George Neuner
21 May20:30 i  iii i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2Stefan Monnier
22 May03:45 i  iii i `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Lawrence D'Oliveiro
21 May18:06 i  iii `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2Lynn Wheeler
21 May08:05 i  ii+* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2Anton Ertl
21 May13:23 i  ii`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?7Stefan Monnier
21 May01:32 i  i`* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?2Lawrence D'Oliveiro
21 May02:04 i  `* Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?3Chris M. Thomasson
21 May02:31 `- Re: Is Parallel Programming Hard, And, If So, What Can You Do About It?1Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal