comp.lang.ada
 help / color / mirror / Atom feed
* Re:  Ada Generic Overhead Inquiry
@ 1987-04-08 20:21 CPT Jacques C. Choiniere
  1987-04-09 11:44 ` mdash
  0 siblings, 1 reply; 4+ messages in thread
From: CPT Jacques C. Choiniere @ 1987-04-08 20:21 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Ada Generic Overhead Inquiry
@ 1987-04-08 18:17 adaisc
  1987-04-09 13:59 ` firth
  0 siblings, 1 reply; 4+ messages in thread
From: adaisc @ 1987-04-08 18:17 UTC (permalink / raw)



 ................................................................

     Can anybody tell me if there is any significant, run-time
     overhead associated with the use of Ada's Generics?
 
                                   Thanks,
                                    
                                   Joe Rubel <byrley@ntsc-74>

 ................................................................


------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1987-04-09 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1987-04-08 20:21 Ada Generic Overhead Inquiry CPT Jacques C. Choiniere
1987-04-09 11:44 ` mdash
  -- strict thread matches above, loose matches on Subject: below --
1987-04-08 18:17 adaisc
1987-04-09 13:59 ` firth

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