comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada parallelism
Date: Thu, 25 Mar 2010 09:24:07 +0100
Date: 2010-03-25T09:24:28+01:00	[thread overview]
Message-ID: <109zj9fwa9gxm.1on0bs4bmjkhs.dlg@40tude.net> (raw)
In-Reply-To: Xns9D45A37BFD4DFWarrensBlatherings@188.40.43.245

On Wed, 24 Mar 2010 20:04:18 +0000 (UTC), Warren wrote:

> Georg Bauhaus expounded in news:4baa5987$0$6762$9b4e6d93
> @newsspool3.arcor-online.net:
> 
>> Warren schrieb:
>>> Georg Bauhaus expounded in news:4baa27f2$0$6770$9b4e6d93
>>> @newsspool3.arcor-online.net:
>>> 
>>>> Dmitry A. Kazakov schrieb:
>>>>>  how the proposed algorithms map onto the
>>>>> Ada tasking model, especially taking into account that Ada tasking
>>>>> primitives are higher level, than ones known in other languages.
>> 
>>>> As a side note: it seems anything but easy to explain
>>>> the idea of a concurrent language, not a library, and
>>>> not CAS things either, as the means to support the programmer
>>>> who wishes to express concurrency.
>>>> Concurrency is not seen as one of the modes of expression
>>>> in language X. Rather, concurrency is seen as an effect
>>>> of interweaving concurrency primitives and some algorithm.
>>>>
>>>> What can one do about this?
>>> 
>>> I thought the Cilk project was rather interesting in
>>> their attempt to make C (and C++) more parallel
>>> to take advantage of multi-core cpus. But the language 
>>> still requires that the programmer program the parallel 
>>> aspects of the code with some simple language enhancements.
>>> 
>>> As cores eventually move to 128+-way cores, this needs
>>> to change to take full advantage of shortened elapsed
>>> times, obviously.  I think this might require a radical
>>> new high-level language to do it.  
>> 
>> Or efficient multicore Ada will have to go radically back to
>> the roots ;-)  
> 
> I do believe that an Ada compiler probably has enough 
> internal info to manage something along this line. Some
> work would also have to be done to deal with explicitly
> coded tasking.
> 
>> How did they achieve efficient execution on
>> massively parallel processors? HPF? Occam? What do Sisal
>> implementations do?
> 
> I don't know about them, but if any of them are "interpreted",
> then there would be execution time semantics possible.

Occam was compiled, but its concurrency model was extremely low level
(communication channels) and heavy-weight as compared to Ada.

I believe that Ada's tasks on massively parallel processors could really
shine if compiler supported. Especially because Ada's parameter passing
model is so flexible to support both memory sharing and marshaling. Well,
there is a problem with tagged types which are by-reference, this must be
fixed (e.g. by providing "tagged" types without tags, and thus copyable).

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-03-25  8:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <21e6697e-fd7c-4c5e-93dc-8d894449b5e6@f8g2000yqn.googlegroups.com>
     [not found] ` <ff3671a8-cf19-4cee-8b71-305bb6b1e9c1@l25g2000yqd.googlegroups.com>
     [not found]   ` <4ba9e189$0$6886$9b4e6d93@newsspool2.arcor-online.net>
     [not found]     ` <1id5xnuz0x892$.1odbic5ppiv07.dlg@40tude.net>
2010-03-24 14:55       ` Threadpool with priority version 1.1 Georg Bauhaus
2010-03-24 16:40         ` Warren
2010-03-24 18:27           ` Ada parallelism (was: Re: Threadpool with priority version 1.1 ...) Georg Bauhaus
2010-03-24 20:04             ` Warren
2010-03-25  8:24               ` Dmitry A. Kazakov [this message]
2010-03-25 13:44                 ` Ada parallelism Robert A Duff
2010-03-25 14:09                   ` Dmitry A. Kazakov
2010-03-24 21:46           ` Threadpool with priority version 1.1 Maciej Sobczak
2010-03-25 17:21             ` Warren
2010-03-25 17:30             ` Warren
2010-03-26  8:19               ` Dmitry A. Kazakov
2010-03-26  9:30                 ` Maciej Sobczak
2010-03-26 19:35                   ` Warren
2010-03-25  8:39         ` Dmitry A. Kazakov
replies disabled

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