comp.lang.ada
 help / color / mirror / Atom feed
From: choinier@MITRE.ARPA (CPT Jacques C. Choiniere)
Subject: Re:  Ada Generic Overhead Inquiry
Date: Wed, 8-Apr-87 15:21:54 EST	[thread overview]
Date: Wed Apr  8 15:21:54 1987
Message-ID: <8704082021.AA06545@mitre.ARPA> (raw)

In reply to Joe Rubel, on run-time overhead associated with Ada Generics:

  Tim Porter of SAIC ((porter@nosc-tecr)) did some work for us that explored
this issue.  His team developed an automatic code generator that, among other
things, uses Ada generics.  This work was done for WWMCCS Information System,
and is public domain software that will be sent to the Ada Repository on Simtel
20 in the next several months.  A formal report on this work is in the 
Proceedings of the Joint Ada Conference, 5th National Conference & Washington
Ada Symposium pages 334 to 343.
  In sum, he found that speed of the applications code was not noticeably 
different from "regular" code when running the compiled code.  Compilation
speed was fairly slow with the large system his team worked with (see report).
The PROBLEM he found was the size of the Ada code modules created by the 
automatic code generator and the generics it used.  The compiled code was
big.  He told me that this was a function of current VAX Compiler technology
and NOT a function of the Ada language.  The Compiler did not share any code
at all, even when the modules were identical.  THIS PROBLEM WAS SOLVED BY
TIM.  With careful selections of implementation alternatives (see report or
send him a note) he was able to shrink the generated code size and (I forgot
to mention this problem) handle the problem of in-line expansions of generics.
BY ALL MEANS READ THE REPORT OR TALK TO TIM TO GET THE DETAILS.  

CPT CHOINIERE, USA
WIS JPMO/XPT
jcc@mitre

             reply	other threads:[~1987-04-08 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1987-04-08 20:21 CPT Jacques C. Choiniere [this message]
1987-04-09 11:44 ` Ada Generic Overhead Inquiry mdash
  -- strict thread matches above, loose matches on Subject: below --
1987-04-08 18:17 adaisc
1987-04-09 13:59 ` firth
replies disabled

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