comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Ada Compilers
Date: Thu, 23 May 2002 09:29:23 -0400
Date: 2002-05-23T13:29:24+00:00	[thread overview]
Message-ID: <aciqrk$o41$1@nh.pace.co.uk> (raw)
In-Reply-To: 2AEB9D17A335FB6F.78506B6494B0AFF3.EE290620571FE224@lp.airnews.net

"John R. Strohm" <strohm@airmail.net> wrote in message
news:2AEB9D17A335FB6F.78506B6494B0AFF3.EE290620571FE224@lp.airnews.net...
> I'd be VERY interested in seeing a fairly detailed example on this
> particular item.
>
What item? The initialization thing? Its been a really long time so I don't
remember exactly what we did. We were using the XD-Ada compiler for the
Mil-Std-1750a. (Might also have been true of the MC680x0 target as well, but
I didn't test it on that path.) IIRC, we had a record type that was
initialized by default values. When you declared an object of that type, the
compiler generated subroutine calls for it to get it initialized. It was
causing speed problems, so we tinkered. Initializing it with an aggregate
instead (no default initial values for the type) got us down to the one-word
data move we wanted. Or maybe it was the other way around. :-) It *was* a
long time ago. But it illustrates that you can get very different code to
accomplish the same goal, so you really have to know your compiler, etc.


> Part of the GLOBAL thrust of what I'm doing is gearing myself up on Ada95,
> with the idea in the back of my head of tackling some things that are
> typically done in C/C++, and seeing if I can learn enough along the way to
> replicate your results in a different domain area: 2x productivity, 1/4x
> defect density.
>
You have to be real careful because there is always that all-important
caveat: YOUR MILEAGE MAY VARY!!! :-) In this particular realm, we had a very
specialized process and unlike most projects, we were frequently building
essentially the same thing over and over again. The kinds of errors we
encountered were really peculiar to the specific problem domain and wouldn't
necessarily apply across the board. Hence the productivity and defect rates
may not be anywhere near what someone else in another problem space would
realize. (You might even do better? Who knows?) Also, since we were
measuring a live process that was going on over maybe more than 10 years,
you didn't exactly have laboratory-grade isolation of just the language.
Other things were going on at the same time, so its hard to credit just Ada
for the improvements & have strong confidence that you could reproduce the
same result in another environment just by injecting a new language.


> Gotta do something to pass the time between job interviews and mailing out
> resumes and such.
>
I feel your pain. :-) Giving some thought to re-entering the fray once again
myself. Not a prospect I relish, but sometimes its the thing to do. Good
luck with it and I hope you find something where you can use & promote Ada.


> (The argument is something like this:  "Now, we all know that there really
> aren't any silver bullets, right?  There really aren't any magic wands you
> can wave, that will just like magic give you 2x productivity improvement
and
> 1/4x defect density, right?  We all know that, don't we?  Well, what if
> there was one?  Suppose there WAS such a wand, such a super secret magic
> bullet, that really would let you tackle your current project with half as
> many cars in the parking lot, that would let you write only 1/4 as many
bug
> reports and bug fix reports and retest reports.  If such a wand really did
> exist, would you ignore it, throw it away, bury it in a landfill and post
> armed guards 24/7 around it, or would you grab it and wave it for all you
> were worth?")
>

I understand and possibly agree - to a point. Its just that a lot more is
going to go into productivity and defects than just the language. Its that
bind of "All Other Things Being Equal" - which is almost never the case.
Sure, Ada (in the abstract sense) is better for building reliable software
quickly than is C. But what if C decides to cheat? If C gives you some huge
library of stuff that gets you 75% of the way out the door right now and
that library has been used/debugged extensively, and there is no equivalent
for Ada, will not C win? Or if the project is fairly short term and the
staff already knows C++ extensively and knows nothing about Ada, can Ada
win?

I believe Ada is better based on the evidence I've seen over the years. Its
just that the competition is seldom on an even playing field. The way around
that is for Ada to create its own playing field where the other languages
are at a disadvantage. We don't have to be "fair" or "nice" about it either,
do we? :-)

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com





  reply	other threads:[~2002-05-23 13:29 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15 18:55 Ada Compilers David Rasmussen
2002-05-15 19:32 ` Marin David Condic
2002-05-15 20:45 ` Jacob Sparre Andersen
2002-05-15 21:00   ` Marin David Condic
2002-05-15 21:38   ` Pascal Obry
2002-05-15 22:35     ` Kai Schuelke
2002-05-16 10:27       ` Preben Randhol
2002-05-16 10:37       ` Dmitry A. Kazakov
2002-05-16 13:51         ` Martin Dowie
2002-05-16 15:06       ` Ted Dennison
2002-05-17  1:22         ` Robert Dewar
2002-05-17 14:56           ` Ted Dennison
2002-05-17  1:23         ` Robert Dewar
2002-05-16 16:59       ` Pascal Obry
2002-05-16 18:50         ` Kai Schuelke
2002-05-17  1:19           ` Robert Dewar
2002-05-17 13:38         ` [off-topic] "free" Wes Groleau
2002-05-17 14:51           ` Preben Randhol
2002-05-16 15:03   ` Ada Compilers Fraser Wilson
2002-05-16 15:19     ` Florian Weimer
2002-05-16  1:07 ` Florian Weimer
2002-05-16 13:16   ` Marin David Condic
2002-05-17 22:12     ` David Rasmussen
2002-05-19 21:14       ` Jacob Sparre Andersen
2002-05-20 13:28       ` Marin David Condic
2002-05-21 21:31         ` Greg Bek
2002-05-22  1:47           ` Robert Dewar
2002-05-22 13:52           ` Marin David Condic
2002-05-23 11:01             ` John R. Strohm
2002-05-23 13:29               ` Marin David Condic [this message]
2002-05-23 15:50               ` Ted Dennison
2002-05-23 16:39               ` Larry Kilgallen
2002-05-16  2:09 ` Steve Doiel
2002-05-16 10:33 ` Preben Randhol
2002-05-16 10:34   ` Preben Randhol
2002-05-16 11:25   ` David Rasmussen
2002-05-16 12:31     ` Preben Randhol
2002-05-16 13:25       ` David Rasmussen
2002-05-16 13:42         ` Steve Doiel
2002-05-16 14:37           ` David Rasmussen
2002-05-16 19:12         ` Preben Randhol
2002-05-17 15:08         ` Ted Dennison
2002-05-16 13:30       ` Marin David Condic
2002-05-17  8:51         ` Preben Randhol
2002-05-16 17:03   ` Pascal Obry
2002-05-17 15:11     ` Ted Dennison
2002-05-17 16:25       ` Pascal Obry
2002-05-18  7:07         ` Simon Wright
2002-05-18  7:57           ` Pascal Obry
2002-05-19  2:50         ` David Botton
2002-05-17 17:40       ` Preben Randhol
2002-05-18 10:44       ` Jerry van Dijk
2002-05-20 16:55         ` Ted Dennison
2002-05-20 18:47           ` Jerry van Dijk
  -- strict thread matches above, loose matches on Subject: below --
2012-11-24 15:55 Ada compilers arkavae
2012-11-24 18:56 ` Niklas Holsti
2012-11-24 18:57 ` Gautier write-only
2005-06-03 18:55 ADA compilers Patty
2005-06-03 19:04 ` Pascal Obry
2005-06-03 19:12 ` Patty
2005-06-03 19:21   ` Dmitry A. Kazakov
2005-06-03 20:37     ` Björn Lundin
2005-06-03 20:25   ` Jeff C
2005-06-03 20:31   ` Keith Thompson
2005-06-03 20:36   ` Björn Lundin
2005-06-04  5:29   ` Jeffrey Carter
2005-06-04  6:32 ` Martin Krischik
2002-05-20 17:39 Ada Compilers David Humphris
     [not found] <mailman.1021886521.4259.comp.lang.ada@ada.eu.org>
2002-05-20 16:46 ` Ted Dennison
1997-11-13  0:00 Nathan A. Barclay
1997-11-13  0:00 ` bklungle
1996-06-16  0:00 ADA Compilers A REILLY
1996-06-18  0:00 ` Jon S Anthony
1993-03-14 12:34 Ada Compilers David Leslie Garrard
1991-04-19 15:22 ADA COMPILERS douglassalter@ajpo.sei.cmu.edu,
1990-01-17 18:49 ADA compilers John Ostlund
1989-11-15 23:18 Ada Promises Doug Schmidt
1989-11-16 22:45 ` Ada compilers William Thomas Wolfe, 2847 
     [not found] <1989Sep <3161@amelia.nas.nasa.gov>
1989-09-29 13:47 ` Ada Compilers Robert Cousins
1989-09-15 20:35 Kelvin W. Edwards
1989-04-11 17:01 ada compilers Kjartan R. Gudmundsson
replies disabled

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