comp.lang.ada
 help / color / mirror / Atom feed
From: <bglbv@my-dejanews.com>
Subject: Re: A question for my personal knowledge.
Date: 1999/05/18
Date: 1999-05-18T00:00:00+00:00	[thread overview]
Message-ID: <871zge2h7q.fsf@bglbv.my-dejanews.com> (raw)
In-Reply-To: 1999May17.174659.1@eisner

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2506 bytes --]

kilgallen@eisner.decus.org (Larry Kilgallen) writes:

> I have a subscription to the VMS source listings, and Charlie is
> correct, modulo some VAX-Alpha skew.  I am talking about actual
> use for code that ships in the operating system product, not whatever
> DEC may use internally for testing the compiler.

Well, source listings are of course the kind of authoritative
references I was missing. Thank you. So you are saying that there
is no trace of Ada code in VMS sources prior to release 6.2? For
completeness' sake, how far back did you look?

> > I suppose someone with access to a VMS system could go through system
> > executables and shared libraries and watch for the Ada compiler's
> > idiosyncracies in code generation. (Things like working out the size
> > of everything in bits rather than bytes, for example. Certainly if I
> > wanted to search for GNAT-generated code on an x86 I would look for
> > sections with a high density of arithmetic shifts left by 5. Similar
> > heuristics should work with other compilers and on other platforms.)
> 
> I presume that any reasonable Ada compiler would handle that before
> emitting object code, and it would never show up.

Why not? It does show up in GNAT-generated code in at least some
circumstances, and as long as the impact on performance is negligible,
who cares? It used to be possible to tell apart Fortran and Pascal
code on a VAX by noticing that Fortran used CALLG and Pascal CALLS
instructions. It would be na�ve to expect compilers for different
languages to generate totally indistinguishable object codes (as
opposed to equally efficient ones) for equivalent source programs.

> >> Not major parts mind you.  Some sub-sections where the programmers involved
> >> wanted to use Ada.
> > 
> > My understanding is that the use of Ada resulted in measurable
> > productivity gains. Pity I don't have the original reference anymore.
> 
> I doubt that DEC has done enough Ada to make such measurements.
> It takes a _lot_ of code to filter out "other factors".  See
> Marin David Condic's cautious optimism at his company after 10
> years of comparisons.

Oh, sure. As I said, I was citing from (probably not wholly accurate)
memory a source I can no longer even identify, let alone check for
trustworthiness. I don't recall that source going into any detail on
the method of measurement; the statistic may well have been meaningless.
This is at the anecdotal ("a good story doesn't need to be true")
level, no doubt about that.




  reply	other threads:[~1999-05-18  0:00 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-10  0:00 A question for my personal knowledge Siamak Kaveh
1999-05-10  0:00 ` Larry Kilgallen
1999-05-10  0:00   ` Keith Thompson
1999-05-12  0:00     ` Charlie McCutcheon
1999-05-12  0:00       ` Werner Pachler
1999-05-17  0:00         ` Charlie McCutcheon
1999-05-17  0:00           ` bglbv
1999-05-17  0:00             ` Larry Kilgallen
1999-05-18  0:00               ` bglbv [this message]
1999-05-19  0:00                 ` Larry Kilgallen
1999-05-10  0:00 ` Sam
1999-05-10  0:00 ` Marin David Condic
1999-05-10  0:00   ` Paul Whittington
1999-05-10  0:00     ` Marin David Condic
1999-05-10  0:00 ` Roy Grimm
1999-05-11  0:00   ` Pascal Obry
1999-05-11  0:00     ` Roy Grimm
1999-05-11  0:00       ` Robert Dewar
1999-05-11  0:00         ` dennison
1999-05-13  0:00           ` Mike Yoder
1999-05-13  0:00             ` Mike
1999-05-13  0:00               ` Martin C. Carlisle
1999-05-14  0:00               ` Dale Stanbrough
1999-05-13  0:00                 ` Mike
1999-05-13  0:00                   ` Brian Rogoff
1999-05-13  0:00                   ` David Starner
1999-05-18  0:00                     ` Georg Bauhaus
1999-05-14  0:00                   ` Dale Stanbrough
1999-05-14  0:00                   ` Florian Weimer
1999-05-14  0:00                     ` Steve
1999-05-15  0:00                       ` Florian Weimer
1999-05-15  0:00                         ` Matthew Heaney
1999-05-15  0:00                   ` Matthew Heaney
1999-05-18  0:00               ` Richard D Riehle
1999-05-18  0:00                 ` Hyman Rosen
1999-05-18  0:00                   ` Richard D Riehle
1999-05-18  0:00                     ` Hyman Rosen
1999-05-19  0:00                       ` Richard D Riehle
1999-05-11  0:00         ` Roy Grimm
1999-05-12  0:00           ` Robert A Duff
1999-05-11  0:00       ` Marin David Condic
1999-05-11  0:00         ` Roy Grimm
1999-05-11  0:00           ` Tucker Taft
1999-05-11  0:00             ` Roy Grimm
1999-05-12  0:00         ` Roger Racine
1999-05-12  0:00           ` Marin David Condic
1999-05-17  0:00             ` Charlie McCutcheon
1999-05-17  0:00               ` Larry Kilgallen
1999-05-17  0:00                 ` Chris
1999-05-17  0:00                   ` Marin David Condic
1999-05-17  0:00               ` Marin David Condic
1999-05-17  0:00             ` Richard D Riehle
1999-05-18  0:00               ` Marin David Condic
1999-05-18  0:00                 ` bglbv
1999-05-18  0:00                   ` William B. Clodius
1999-05-10  0:00 ` Dan Nagle
1999-05-11  0:00 ` Jean-Pierre Rosen
1999-05-11  0:00   ` Robert Dewar
replies disabled

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