[comp.lang.c++] C++ Code Size

dspoon@fenix.Atlanta.NCR.COM (David B. Witherspoon) (08/23/88)

I'm trolling for information concerning the resultant executable size of
C++ code.  This is needed for performance and space requirements for a
product now under development.  The target machine is an 80286.
Initial estimates were performed by guesstimating the average number of C
lines of code the C++ translator would produce, and then from there the
average number of assembler instructions per C line of code, and finally
the average number of bytes per assembler instruction.  This boiled down to
an average number of object bytes per C++ instruction.

I'd like to know if anyone else has made code size estimates for C++
applications.  If so, under what method and using what factors (e.g.,
1.5 C LOC generated for every C++ LOC).  Any information concerning
experienced code size would be appreciated, but only for the 80286.  Every
thought on the matter will have an audience!


If I get enough info to summarize to the net, I'll do so. 
-------------------------------David Witherspoon-------------------------------
D.Witherspoon@Atlanta.NCR.COM         | "It's all just 1's and 0's you know!"
NCR Sys Engineering-Retail/Atlanta    | 
MY OPINIONS...ALL MINE!!!             |                         - me