comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: Reducing size of Ada's EXE files
Date: 16 Apr 91 19:12:10 GMT	[thread overview]
Message-ID: <3066@sparko.gwu.edu> (raw)
In-Reply-To: 1991Apr15.094702@riddler.Berkeley.EDU

In article <1991Apr15.094702@riddler.Berkeley.EDU> yow@sweetpea.jsc.nasa.gov writes:
>
>What I would like to see is the SHARING of generic code, not this macro
>expansion that takes place in compilers.  I wrote my own dynamic generic
>because the generic code was about 20K (object code size) and the
>generic was used 50+ times on a PC (640K limit).  This would never work
>with the marco expansion because the program would be over 1 meg just
>for the generics!!! (:-()
>
Indeed. But code-sharing in generics is a separate issue from throwing
away dead code. Are you saying that _everything_ in the generic was used
50+ times? Wouldn't throwing away the dead code at least get rid of
some of the extra stuff?

I wonder if folks out there in net-land could check their favorite compiler
documentation and ascertain the general kinds of global optimizations
done. A general summary of compiler families in this regard would be
helpful to all concerned. I'll take responsibility of summarizing, though
I think your answers would be better posted than e-mailed to me.

Does your system code-share generics?
Does your system throw away dead code?

Mike

  reply	other threads:[~1991-04-16 19:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-04-12 17:14 Reducing size of Ada's EXE files Ken McCook
1991-04-12 23:51 ` Larry Carroll
1991-04-15 14:47   ` yow
1991-04-16 19:12     ` Michael Feldman [this message]
1991-04-15 17:16   ` Michael Feldman
1991-04-16  8:47     ` Jean-Loup Gailly
1991-04-16  3:24   ` Jim Showalter
1991-04-19 13:28 ` ryer
replies disabled

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