From: John McCabe <john@nospam.assen.demon.co.uk>
Subject: Re: C++0x and Threads - a poor relation to Ada's tasking model?
Date: Fri, 14 Aug 2009 12:13:49 +0100
Date: 2009-08-14T12:13:49+01:00 [thread overview]
Message-ID: <kkha8596l2r1tqs9ltrlvhof9lv2tqifoa@4ax.com> (raw)
In-Reply-To: 270bf4df-4d0b-4621-9005-80ef8ab51634@s31g2000yqs.googlegroups.com
On Fri, 14 Aug 2009 00:39:14 -0700 (PDT), Maciej Sobczak
<see.my.homepage@gmail.com> wrote:
>On 13 Sie, 14:47, "Peter C. Chapin" <pcc482...@gmail.com> wrote:
>
>> Ada provides language syntax for concurrency. It feels cleaner to me than
>> any of the C++ thread libraries I have used. Is that because those C++
>> libraries just don't have the interface "right?" Maybe. But it might also
>> be because it's just not possible to express concurrency in a nice clean
>> way when using only library calls.
>
>Right and this is the first valid argument for preferring built-in
>language support over library-based API. I agree with that.
>You have to, however, take into account the history differences
>between these two languages. Adding the concurrency features at the
>very beginning when the language is designed is more comfortable than
>doing it later on.
c.f. Adding classwide programming to Ada 95.
>Note: Some time ago I have written an article on how a language-based
>support for basic threading features could possibly look like in C++:
>
>http://www.inspirel.com/articles/Possible_Syntax_For_Cpp_Threads.html
>
>I still think that what was standardized will serve the community
>better.
I'll have a look at that. As a matter of interest, a long time ago
there were parallel C compilers for the Transputer. How did the
thread/processors communicate/interact in those languages?
next prev parent reply other threads:[~2009-08-14 11:13 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 15:30 C++0x and Threads - a poor relation to Ada's tasking model? John McCabe
2009-08-11 20:51 ` Maciej Sobczak
2009-08-12 12:25 ` John McCabe
2009-08-12 14:51 ` Maciej Sobczak
2009-08-12 15:56 ` REH
2009-08-12 16:59 ` John McCabe
2009-08-12 17:21 ` REH
2009-08-12 20:41 ` Robert A Duff
2009-08-12 21:15 ` REH
2009-08-13 1:28 ` Randy Brukardt
2009-08-13 2:08 ` REH
2009-08-13 8:38 ` Pascal Obry
2009-08-13 8:57 ` Dmitry A. Kazakov
2009-08-13 11:32 ` Pascal Obry
2009-08-13 12:28 ` Dmitry A. Kazakov
2009-08-14 1:15 ` Brian Drummond
2009-08-14 11:24 ` Language checks (Was: C++0x and Threads - a poor relation to Ada's tasking model?) Jacob Sparre Andersen
2009-08-14 12:01 ` Dmitry A. Kazakov
2009-08-14 13:33 ` REH
2009-08-14 13:48 ` John McCabe
2009-08-14 14:51 ` John McCabe
2009-08-14 14:13 ` Dmitry A. Kazakov
2009-08-14 19:58 ` Language checks Robert A Duff
2009-08-15 0:10 ` Language checks (Was: C++0x and Threads - a poor relation to Ada's tasking model?) Randy Brukardt
2009-08-14 13:10 ` C++0x and Threads - a poor relation to Ada's tasking model? Gautier write-only
2009-08-14 13:16 ` REH
2009-08-12 21:24 ` REH
2009-08-13 13:51 ` John McCabe
2009-08-13 16:24 ` REH
2009-08-14 11:09 ` John McCabe
2009-08-14 13:00 ` REH
2009-08-14 14:30 ` John McCabe
2009-08-14 14:49 ` REH
2009-08-14 14:54 ` John McCabe
2009-08-14 15:35 ` REH
2009-08-14 18:43 ` Robert A Duff
2009-08-14 18:54 ` REH
2009-08-14 22:33 ` Robert A Duff
2009-08-15 1:15 ` REH
2009-08-15 14:24 ` Robert A Duff
2009-08-14 15:09 ` Hyman Rosen
2009-08-14 15:12 ` REH
2009-08-13 13:55 ` John McCabe
2009-08-13 16:45 ` REH
2009-08-14 11:14 ` John McCabe
2009-08-12 20:53 ` Maciej Sobczak
2009-08-11 23:53 ` jimmaureenrogers
2009-08-12 0:06 ` Jeffrey R. Carter
2009-08-12 7:26 ` Maciej Sobczak
2009-08-12 5:29 ` stefan-lucks
2009-08-12 15:00 ` Maciej Sobczak
2009-08-12 9:27 ` Ludovic Brenta
2009-08-12 15:14 ` Maciej Sobczak
2009-08-13 12:47 ` Peter C. Chapin
2009-08-13 13:57 ` John McCabe
2009-08-14 7:39 ` Maciej Sobczak
2009-08-14 11:13 ` John McCabe [this message]
2009-08-14 12:23 ` Dmitry A. Kazakov
2009-08-14 12:50 ` John McCabe
2009-08-14 13:50 ` Dmitry A. Kazakov
2009-08-14 13:58 ` Niklas Holsti
2009-08-14 14:17 ` Dmitry A. Kazakov
2009-08-14 22:25 ` Brian Drummond
2009-08-14 12:56 ` John McCabe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox