comp.lang.ada
 help / color / mirror / Atom feed
From: John McCabe <john@nospam.assen.demon.co.uk>
Subject: Re: C++0x and Threads - a poor relation to Ada's tasking model?
Date: Thu, 13 Aug 2009 14:55:26 +0100
Date: 2009-08-13T14:55:26+01:00	[thread overview]
Message-ID: <aj6885l0lk2q53avqp9qhe0kdofn0ql5j4@4ax.com> (raw)
In-Reply-To: 128d63da-361f-4e33-be5e-e06bdc71e39f@r34g2000vba.googlegroups.com

On Wed, 12 Aug 2009 10:21:36 -0700 (PDT), REH <spamjunk@stny.rr.com>
wrote:

>On Aug 12, 12:59�pm, John McCabe <j...@nospam.assen.demon.co.uk>
>wrote:
>> On Wed, 12 Aug 2009 08:56:34 -0700 (PDT), REH <spamj...@stny.rr.com>
>> wrote:
>>
>> >> It seems to me that Ada's model started off with a clean slate and was
>> >> designed from the ground up whereas with C++ it's always been a case
>> >> of "how can we bolt this on". That's primarily what I was getting at.
>> >If the Ada model suits your needs, use it. Why should C++ be
>> >identical? It serves a different community.
>>
>> In what way?
>
>There is less concern with (compiler-provided) safety, and more with
>speed. The C++ philosophy is "if you don't need it, you don't pay for
>it." For example, you don't take a (potential) performance hit for
>exceptions or range-checking, unless you explicitly use them. The C++
>committee would rather (I surmise) define an interface that maps
>easily to existing systems as a light wrapper, than one that is harder
>to implement but much safer. I don't think one way is better than the
>other. It depends on your needs. I use both languages extensive where
>I work.

Having followed this train of messages further, I still don't see that
you have justified the comment about C++ serving a different community
to Ada. As I see it, the community is the same (they're both basically
general purpose OO programming languages), it's just a viewpoint
that's different.

In a lot of ways what you have argued is that the perception of C++ as
a faster language leads to its choice in some situations. In my view,
many people use C++ because that's all they know and they don't want
to learn anything different even when it may be superior in many ways.

Of course C++ has some features that make it easier to use for certain
applications, e.g. actual MI rather than the interface level MI
available in Ada and Java, but there are loads of resources out there
describing why that is dangerous.

Anyhow - this wasn't meant to be a general C++ Vs Ada thread, so I'm
going to stop there.




  parent reply	other threads:[~2009-08-13 13:55 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 [this message]
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
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