comp.lang.ada
 help / color / mirror / Atom feed
From: "Ken Garlington" <Ken.Garlington@computer.org>
Subject: Re: Ada to C++ translator?
Date: Wed, 21 Feb 2001 00:33:31 GMT
Date: 2001-02-21T00:33:31+00:00	[thread overview]
Message-ID: <v1Ek6.1931$tJ.94481472@newssvr10-int.news.prodigy.com> (raw)
In-Reply-To: %Wvk6.102$aw5.380@www.newsranger.com


"Ted Dennison" <dennison@telepath.com> wrote in message
news:%Wvk6.102$aw5.380@www.newsranger.com...
: In article <cyik6.1725$DE.61421700@newssvr10-int.news.prodigy.com>, Ken
: Garlington says...
: >
: >"Ted Dennison" <dennison@telepath.com> wrote in message
: >news:Qybj6.354$a4.1745@www.newsranger.com...
: >: Heh. Not likely. Ada tasking execs generally fall into one of two
: >categories:
: >:
: >: 1) Uses the OS "threading" capabilities.
: >: In this case, it will be pretty much *exactly* the same speed in task
: >: switching as the OS. The main difference is that the Ada tasking exec
is
: >:
: >: 2) Uses its own tasking code within a single OS process/thread.
: >: This is usually significantly *faster* that OS threads, since it
generally
: >
: >This is *definitely* not true for *early* Ada compilers, compared to
: >current-generation RTOSs. (The key phrase in the original statement:
"when
: >they *originally* developed the code...)
:
: I suppose that's possible. In my experience, what I wrote has been
universally
: true. However, my experience with Ada only dates back to about 1989.

To paraphrase my response to another claim that efficient tasking has been
universally true since 1889 (e-mail me if you want the identity of "X", "Y"
and "Z").

"...the last copy of the Xcompiler for the VAX/1750 *still* had
poor tasking behavior (early '90s), as did the last Y one (still in use
today), compared to the lightweight threads available, say, in VxWorks for
the PowerPC. I'd be happy to post the Yassembly code sequences if
you're interested. You might claim that this is comparing apples (PowerPC)
with sour apples (1750A), but so what? It's only been recently (in project
lifetime scales) that modern 32-bit processors with COTS OSs and excellent
thread support has been available to us DoD contractors, so it's not
surprising that our systems reflect the limitations of the available
environment. You might also claim that these are obsolete compilers, and so
it's unfair to use them as a basis for comparison, but so what? We still use
Yon active projects because we can't afford to switch to another 1750
toolset.

"This behavior, by the way, is despite the (literally) millions of dollars
my
company invested in both companies before they went under (and still invest
in Z to maintain the remnants of the Y product). I'd be happy to
post the invoices if you're interested. You might claim that this is unfair
because we didn't making better tasking a priority, but so what? We spent
our money where we had to spend it -- to get the features that were the most
necessary. If we were able to do our job without tasking (but not without a
compiler that, for example, gave us access types now found in Ada95), then
we spent our money where our project needed it....

"How could you possibly have access to every toolset combination still
rattling around today, much less in the entire history of Ada, to run your
benchmarks? This hubris shouldn't be buried in an e-mail, it should be
publicly posted for the world to gaze at in awe! :)"

And now, of course, it is :)

As I've noted before, this sort of attitude makes it very difficult for me
to sell Ada. From the same post:

"There's plenty of blame to go around with respect to Ada...

"6. And the one that got us here: Legitimate issues with the Ada language
are
attacked with religious zeal instead of reason. Compare Ada/Eiffel
discussions with C/C++ discussions, then look at their penetration into the
software engineering community. I think you'll see a correlation....

"This has always been the case with Ada. I remember early X meetings
where we were trying to get a compiler bug fixed for a large package, and
being told that "the problem is that you're not coding it using the
preferred Ada style." I remember A-12 being attacked because we didn't use
tasking. The attackers didn't care about any silly compiler problems, etc.
They just knew we "weren't Ada enough" if we didn't use tasking. After all,
they could get tasking to work on their PC; what's the problem?....

On the projects where we used C++, I don't believe we've ever had anyone say
we weren't "C++ enough" because we constrained the use of templates. Quite
the contrary - there's an active effort to develop a standard C++ subset
(EC++) for use in certain domains, without any fear of being arrested by the
"C++ police" for subsetting the language. Why would someone want to use a
language with a built-in Inquisition?





  parent reply	other threads:[~2001-02-21  0:33 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-09 19:17 Ada to C++ translator? Robert Brantley
2001-02-09 20:48 ` Britt Snodgrass
2001-02-09 23:35   ` Jeffrey Carter
2001-02-09 23:47   ` Brian Rogoff
2001-02-12 15:07     ` Ted Dennison
2001-02-12 15:49       ` Brian Rogoff
2001-02-13 19:36         ` Ted Dennison
2001-02-12 20:25       ` David C. Hoos, Sr.
2001-02-11 10:36 ` Gautier
2001-02-11 11:15   ` Pascal Obry
2001-02-11 11:15   ` Jean-Pierre Rosen
2001-02-12 10:36     ` David C. Hoos, Sr.
2001-02-11 13:15   ` Larry Kilgallen
2001-02-11 14:50   ` Ken Garlington
2001-02-11 15:58   ` Florian Weimer
2001-02-11 17:05   ` Aaro Koskinen
2001-02-15 23:47   ` Robert Brantley
2001-02-16 15:20     ` Ted Dennison
     [not found]       ` <cyik6.1725$DE.61421700@newssvr10-int.news.prodigy.com>
     [not found]         ` <%Wvk6.102$aw5.380@www.newsranger.com>
2001-02-21  0:33           ` Ken Garlington [this message]
2001-02-21 10:54             ` Ole-Hjalmar Kristensen
2001-02-21 12:40               ` Ken Garlington
2001-02-21 12:56                 ` Ole-Hjalmar Kristensen
2001-02-21 18:36             ` Brian Rogoff
2001-02-21 19:05               ` Marin David Condic
2001-02-21 21:26                 ` Simon Wright
2001-02-23 21:05                   ` Marin David Condic
2001-02-24  8:38                     ` Simon Wright
2001-02-24 16:22                     ` Nick Williams
2001-02-24 19:22                       ` Marin David Condic
2001-02-24 19:38                         ` Ken Garlington
2001-02-25 15:21                           ` Marin David Condic
2001-02-12 15:33 ` Ted Dennison
2001-02-12 22:34   ` UML (Was: Ada to C++ translator?) Frode Tennebø
2001-02-14  4:48     ` Ken Garlington
2001-02-14  6:19       ` Ray Blaak
2001-02-14 20:38       ` Nick Williams
2001-02-15  7:57         ` Ray Blaak
2001-02-15 11:14           ` Pierre Dissaux
2001-02-15 23:37   ` Ada to C++ translator? Robert Brantley
2001-02-16  0:34     ` tmoran
2001-02-16  4:59       ` Lao Xiao Hai
2001-02-16 15:20         ` Marin David Condic
2001-02-16 11:02     ` Tarjei T. Jensen
2001-02-16 13:34       ` Ken Garlington
2001-02-16 14:55         ` Marin David Condic
2001-02-16 21:04         ` tmoran
2001-02-16 15:44     ` Ted Dennison
2001-02-21 13:21       ` Bob Jacobs
2001-02-21 14:14         ` Ted Dennison
2001-02-21 14:59           ` Bob Jacobs
2001-02-21 15:58         ` Martin Dowie
2001-02-21 16:15           ` Bob Jacobs
2001-02-21 16:57             ` Ted Dennison
2001-02-22  1:39               ` Andrew Berg
2001-02-22  9:47                 ` STL for Ada (was: Re: Ada to C++ translator?) Stefan Nobis
2001-02-22 15:20                   ` Lutz Donnerhacke
2001-02-22 15:30                   ` Ted Dennison
2001-02-22 17:55                   ` Brian Rogoff
2001-02-22  9:09             ` Ada to C++ translator? Martin Dowie
2001-02-22 13:32               ` Bob Jacobs
2001-02-22 14:30               ` Ted Dennison
2001-02-22  9:17             ` Martin Dowie
2001-02-15 23:09 ` Robert Brantley
  -- strict thread matches above, loose matches on Subject: below --
2001-02-22 10:40 gautier
2001-02-22  9:24 gautier
2001-02-22 10:21 ` Martin Dowie
2001-02-21 15:44 gautier
1998-02-04  0:00 Ada to C translator ? Stewart French
1998-02-05  0:00 ` Gautier
1994-11-16 13:10 Eric Labbe
replies disabled

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