Compiled Prog Size 
Author Message
 Compiled Prog Size

        a friend downloaded sed off simtel.
        the downloaded binary                           = 21k

        he compiled it with borland CPP 3.1             = 45 k
        he recompiled it with plain turbo C 2.01        = 21 k

if u compile a 200-byte batch file
using one of many compilers (simtel, again)             = several k
one advantage: u can redirect/pipe the output.


: >About 15 years ago, I compiled the "HELLO WORLD" program for C and got
: >a 27K EXE file.  It seems to take about that much code to check the
: >computer for functionality and then get the command tail and other
: >things that the compiler writers think is necessary to include in a
: >program.  One reason I often do a final write of a program in assembly
: >code when possible - the code is so much smaller that way.

that 2-step method
has some  merit.
--
=-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
al aab, ex seders moderator                                   sed u soon
               it is not zat we do not see the  s o l u t i o n          
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+



Sat, 09 Nov 2002 03:00:00 GMT  
 Compiled Prog Size
Have you ever tried powerbasic DLL (and EXE) 6.0 ?

It is a true BASIC language compiler for the 32 bit Windows platform and it
produces executables smaller than C does and they are lighting fast !

http://www.powerbasic.com

I use it and I love it.

Chris Boss
Computer Workshop



Sat, 09 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. help! need prog's compiled

2. Help, need a qbasic prog compiled!

3. DLL loads correctly in VB4 Prog Env, but gives error in compiled program

4. VS6 SP5: Problem when screen size changes while VB prog runs

5. opening a prog or window from within a vb prog

6. Prog to Prog Communications

7. Does Compiling increase your Template Size?

8. size.Width of control does not compile

9. Compiled-VB appls sensitive to display font size??

10. Compile Size

11. CommandBar Size, CommandBarMenuBar Size and CommandBarMenuBarItem Size.

12. VB5 compiled module vs compiled DLL written in Visual C++ 5

 

 
Powered by phpBB® Forum Software