TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Philip E. Johnson" <[log in to unmask]>
Tue, 11 Feb 1997 17:48:42 -0600
text/plain (42 lines)
James Squire wrote:
> I'm trying to estimate a conversion factor for a particular Ada 95
> compiler on a particular target.  The conversion is from SLOC (loosely
> translated:  number of semi-colons) to bytes of executable code.
> Does anyone have any guidance on how I could do this, given that I have
> little to no past history to base it on (Ada 95, that is)?  Is there any
> research published on the WWW that speaks to this?


I do not have any Ada95 specific advise.  I have worked on a number of
compiler evaluations and recommend producing a small code sample and
run it configured for the specific compiler, specific target, specific
switches, etc.

The executable size can vary significantly for different
configurations.  An
example is the size difference between an executable for a CICS versus
processor.  I have seen size differences of up to 1000X (i.e. VMS - 460
RISC - 38K).

The ACES test will be helpful but localized code test are more
indicative of
what you may encounter.

|                                                                    |
|                Ada, Perl, and Java! It can't get any better.       |
|                                                                    |
|Philip Johnson                             Telco: (205) 890-1178    |
|Sr. Software Engineer                      Fax  : (205) 890-1174    |
|International Space Systems Inc.           email: [log in to unmask]
|Huntsville, AL                                                      |