comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: basic question on Ada tasks and running on different cores
Date: Fri, 11 May 2012 19:33:15 -0500
Date: 2012-05-11T19:33:15-05:00	[thread overview]
Message-ID: <jokb4f$jvm$1@munin.nbi.dk> (raw)
In-Reply-To: johu2d$9vj$1@speranza.aioe.org

"NatarovVI" <4KCheshireCat@gmail.com> wrote in message 
news:johu2d$9vj$1@speranza.aioe.org...
...
> you just can not do it in imperative, intertwined with dependencies,
> lobotomized manner. in functional languages - you can.

Sure, but I'm skeptical that the vast majority of programmers can deal with 
any programming language that has the level of non-determinism needed to 
support useful parallelism. Functional programming languages make this 
worse, if anything.

Secondly, I'm skeptical that any language attempting fine-grained 
parallelism can ever perform anywhere near as well as a language using 
coarse parallelism (like Ada) and deterministic sequential semantics for the 
rest. Any parallelism requires scheduling overhead, and that overhead is 
going to be a lot higher for the fine-grained case, simply because there is 
a lot more of it needed (even if it is conceptually simpler).

There are of course special cases where neither issue is a problem or can be 
worked around, but for general purpose programming (especially embedded 
programming, which is pretty much the only *real* programming going on today 
:-), I don't see it happening. I wouldn't mind being wrong (even though it 
would mean the end of my programming career; I already know that I'm not 
productive in non-Ada languages - I cannot tolerate debugging very often).

                                         Randy.







  parent reply	other threads:[~2012-05-12  0:33 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06  7:38 basic question on Ada tasks and running on different cores Nasser M. Abbasi
2012-05-06  7:59 ` Gautier write-only
2012-05-06 10:02 ` Simon Wright
2012-05-06 10:31   ` Ludovic Brenta
2012-05-06 14:14     ` Robert A Duff
2012-05-06 16:07       ` Vinzent Hoefler
2012-05-06 19:43       ` Ludovic Brenta
     [not found]         ` <15qdq7df9cji7htp52i9d5f8sqsgmisc3b@invalid.netcom.com>
2012-05-06 21:24           ` Ludovic Brenta
2012-05-06 14:13 ` Robert A Duff
2012-05-07  7:36 ` anon
2012-05-08  7:08   ` Maciej Sobczak
2012-05-08  9:02     ` anon
2012-05-08  9:52       ` Ludovic Brenta
2012-05-09 12:28         ` anon
2012-05-10  2:20           ` Randy Brukardt
2012-05-11  2:38             ` NatarovVI
2012-05-11  8:30               ` Georg Bauhaus
2012-05-16 15:40                 ` NatarovVI
2012-05-16 18:03                   ` Georg Bauhaus
2012-05-12  0:33               ` Randy Brukardt [this message]
2012-05-12 10:57                 ` Stephen Leake
2012-05-15  6:55                   ` Randy Brukardt
2012-05-15 22:54                     ` Shark8
2012-05-16 15:54                 ` NatarovVI
2012-05-17  0:11                   ` Randy Brukardt
2012-05-17  1:06                     ` Jeffrey Carter
2012-05-17  6:50                       ` Dmitry A. Kazakov
2012-05-18  4:12                       ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox