comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Garlington <garlingtonke@lfwc.lockheed.com>
Subject: Re: Ada Core Technologies and Ada95 Standards
Date: 1996/04/15
Date: 1996-04-15T00:00:00+00:00	[thread overview]
Message-ID: <31729038.20BF@lfwc.lockheed.com> (raw)
In-Reply-To: dewar.829186289@schonberg

Robert Dewar wrote:
> 
> Ken said
> 
> "I know that NPL has a tool that they sell that tests Ada compilers for bugs, tha
> t
> apparently provides much more coverage than the ACVC. Why should such a tool
> exist outside of the validation/certification process?"
> 
> This is not true at all, and I guess Ken is only aware of this tool by
> rumour, since if he had used it he would now that it is not ni the business
> AT ALL of providing coverage testing.

Slow down with the speed reading, Dr. Dewar. I said "provides more coverage,"
not "does coverage testing." There is a difference!

The rumor, which some guy named Dr. Brian Wichmann fed me, is that this tool
does the following:

> Instead this is a stress testing tool, it generates random very complex
> (and generally very unrealistic) examples of expressions and other
> constructs to see if the compiler can be broken by such stress testing.

I won't comment on the "unrealistic" part, but at least Dr. Wichmann seems to
think that this tool tells me more about compiler quality than if I don't use it.

> The tool is incidentally available from NPL to users, so Ken it is
> certainly something you could use to test a compiler yourself.

I could also run the ACVC myself. What's the point? 

DO THE MATH. Each user pays for [fill in your favorite process/tool/test here],
or it's done once and the results made available to all users. I wonder which
is more cost-effective?

> In fact, I talked to Brian Wichman (the author of this tool and a similar
> one for Pascal), and the results they have obtained with these tools are
> quite surprising at least to me, in the extent to which they show quality
> differences between Ada and Pascal compilers. Most (all?) of the Pascal
> compilers they have tested have exhibited safety defects (defined as the
> generation of incorrect code). None of the Ada compilers have shown
> safety defects -- they have managed to break them but not persauded
> then to generate wrong code.

"They have managed to break them."

Sounds like a good test to me. Sounds like a test that found something that
neither the vendor's process, nor the ACVC, found before release. Too bad compiler
vendors don't use tools like this _before_ their products are released, to improve
the quality of their software.

Of course, no vendor could afford such a tool, nor could the AVOs afford to
have such a tool. Out of the question! So, I guess the end users will have to
continue to be the guinea pigs, and test the compilers.

By the way, these results surprise me too, since I have certainly managed
to get Ada compilers to generate wrong code. Of course, that doesn't make this
test bad, since no test can guarantee that all possible errors can be caught.
(Notice: _I_ said this.) As you point out:

> Now in practice, I would expect that big projects such as Ken's can point
> to safety defects (defined this way) in the compilers they have used, and
> just as the ACVC cannot 100% guarantee conformance, the NPL tests cannot
> 100% guarantee safety, but they are a measure.

But not a necessary measure, since the vendor process + the ACVC will already
provide high-quality compilers. The tool is unncessary, if I understand your
previous posts. Right?

> I find it interesting that
> the Ada compilers fair so much better than the Pascal compilers. Brian at
> least ascribes this at least in part to the ACVC process.

Well, as long as Ada compilers are higher quality than Pascal compilers, I guess
I have no reason to gripe, eh?

Tom Peters tells this wonderful story about an unnamed company, who hired Mr. Peters
as a quality consultant. At a meeting, one of the managers in frustration said, "Hey!
Get off our backs! We're no worse than anyone else!"

Mr. Peters liked that last expression so much, he put it on a business card. I guess, in
the Ada world, it would have looked like:

      Joe Smith
      XYZ Ada Tools
      "We're No Worse Than Anyone Else, and Better Than Pascal!"




  reply	other threads:[~1996-04-15  0:00 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-25  0:00 Ada Core Technologies and Ada95 Standards Kenneth Mays
1996-03-25  0:00 ` Robert Dewar
1996-03-28  0:00   ` John McCabe
1996-03-28  0:00     ` Robert Dewar
1996-03-29  0:00       ` John McCabe
1996-03-29  0:00         ` Robert Dewar
1996-04-01  0:00           ` Ken Garlington
1996-04-01  0:00             ` Robert Dewar
1996-04-02  0:00               ` Ken Garlington
1996-04-02  0:00                 ` John McCabe
1996-04-02  0:00                   ` Robert A Duff
1996-04-02  0:00                   ` Robert Dewar
1996-04-03  0:00                     ` Ken Garlington
1996-04-04  0:00                       ` Robert Dewar
1996-04-04  0:00                         ` Ken Garlington
1996-04-05  0:00                           ` Robert Dewar
1996-04-10  0:00                             ` Ken Garlington
1996-04-10  0:00                 ` Robert Dewar
1996-04-10  0:00                   ` Robert Dewar
1996-04-12  0:00                     ` Philip Brashear
1996-04-12  0:00                       ` Robert Dewar
1996-04-15  0:00                     ` Tiring Arguments Around (not about) Two Questions Ken Garlington
1996-04-15  0:00                       ` Gary McKee
1996-04-16  0:00                         ` Ken Garlington
1996-04-17  0:00                       ` Kenneth Almquist
1996-04-18  0:00                     ` Ada Core Technologies and Ada95 Standards John McCabe
1996-04-19  0:00                       ` Robert Dewar
1996-04-22  0:00                         ` Ken Garlington
1996-04-22  0:00                         ` John McCabe
1996-04-23  0:00                           ` Ken Garlington
1996-04-24  0:00                             ` John McCabe
1996-04-24  0:00                               ` Robert Dewar
1996-04-26  0:00                                 ` John McCabe
1996-04-26  0:00                                 ` John McCabe
1996-04-26  0:00                                 ` Ken Garlington
1996-04-25  0:00                               ` Ken Garlington
1996-04-24  0:00                             ` Robert Dewar
1996-04-26  0:00                               ` Ken Garlington
1996-04-24  0:00                           ` Robert Dewar
1996-04-26  0:00                             ` Ken Garlington
1996-04-27  0:00                               ` Robert Dewar
1996-04-15  0:00                   ` Ken Garlington
1996-04-16  0:00                     ` Robert Dewar
1996-04-16  0:00                       ` Ken Garlington
1996-04-16  0:00                         ` Robert Dewar
1996-04-02  0:00               ` John McCabe
1996-04-02  0:00             ` John McCabe
1996-04-02  0:00               ` Robert A Duff
1996-04-16  0:00                 ` John McCabe
1996-04-16  0:00                   ` Robert Dewar
1996-04-22  0:00                     ` John McCabe
1996-04-23  0:00                       ` Ken Garlington
1996-04-24  0:00                         ` Robert Dewar
1996-04-26  0:00                           ` Ken Garlington
1996-04-27  0:00                             ` Robert Dewar
1996-04-29  0:00                               ` Cordes MJ
1996-04-29  0:00                                 ` Robert Dewar
1996-05-06  0:00                                   ` John McCabe
1996-05-06  0:00                                     ` Robert Dewar
1996-05-08  0:00                                       ` John McCabe
1996-05-08  0:00                                         ` TARTAN and TI Tom Robinson
1996-05-09  0:00                                           ` Arthur Evans Jr
     [not found]                                         ` <Dr46LG.2FF@world.std.com>
1996-05-09  0:00                                           ` Ada Core Technologies and Ada95 Standards John McCabe
1996-05-07  0:00                                     ` Mike Cordes
1996-05-07  0:00                                     ` Mike Cordes
1996-04-10  0:00             ` Robert Dewar
1996-04-15  0:00               ` Ken Garlington [this message]
1996-04-16  0:00                 ` Robert Dewar
1996-04-16  0:00                   ` Ken Garlington
1996-04-16  0:00                     ` Robert Dewar
1996-04-18  0:00                       ` Ken Garlington
1996-03-31  0:00         ` Geert Bosch
1996-04-01  0:00           ` Robert Dewar
1996-04-01  0:00             ` Mike Young
1996-04-03  0:00               ` Robert Dewar
1996-03-29  0:00   ` Applet Magic works great, sort of Vince Del Vecchio
1996-03-29  0:00   ` Ada Core Technologies and Ada95 Standards steved
1996-03-29  0:00     ` Applet Magic works great, sort of Bob Crispen
1996-04-03  0:00   ` Ada Core Technologies and Ada95 Standards Ken Garlington
1996-04-04  0:00     ` Robert Dewar
1996-04-04  0:00       ` John McCabe
1996-04-05  0:00         ` Robert Dewar
1996-04-06  0:00           ` Ada validation is virtually worthless Raj Thomas
1996-04-06  0:00             ` Robert Dewar
1996-04-08  0:00               ` Arthur Evans Jr
1996-04-07  0:00           ` Ada Core Technologies and Ada95 Standards John McCabe
1996-04-03  0:00   ` Robert I. Eachus
1996-04-05  0:00   ` Robert I. Eachus
1996-04-10  0:00     ` Cordes MJ
1996-04-10  0:00       ` Robert Dewar
1996-04-15  0:00         ` Ken Garlington
1996-04-16  0:00           ` Robert Dewar
1996-04-16  0:00             ` Ken Garlington
1996-04-16  0:00               ` Robert Dewar
1996-04-11  0:00   ` Robert I. Eachus
1996-04-11  0:00   ` Robert I. Eachus
1996-04-19  0:00   ` Laurent Guerby
1996-04-25  0:00   ` Tiring Arguments Around (not about) Two Questions [VERY LONG] Laurent Guerby
1996-04-26  0:00   ` Ken Garlington
1996-04-29  0:00     ` Philip Brashear
  -- strict thread matches above, loose matches on Subject: below --
1996-04-01  0:00 Ada Core Technologies and Ada95 Standards Simon Johnston
1996-04-24  0:00 W. Wesley Groleau (Wes)
1996-04-25  0:00 ` Ken Garlington
1996-04-25  0:00 ` Robert Dewar
1996-04-25  0:00   ` Theodore E. Dennison
1996-04-29  0:00 Marin David Condic, 407.796.8997, M/S 731-93
replies disabled

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