Re: Size of translated programs
- Posted by Greg Haberek <g.haberek at comcast.net> Aug 25, 2003
- 448 views
How to make a shrouded executable: Step 1: Strip code of unused routines, constants, etc. Step 2: Shroud code into unreadable file Step 3: Bind shrouded code to the end of PDE (Public Domain Edition) Interpreter Yields: (size of interpreter) + (size of shrouded code file) How to make a translated executable: Step 1: Strip code of unused routines, constants, etc.. Step 2: Translate code from Euphoia to C. Add extra routines for compatibility when necessary. Step 3: Compile C code using appropriate C compiler. (Suggest Watcom or Borland.) Yields: (final size of compiled C code) Clearly the difference in size can never be compared. A shrouded text file full of code will always be smaller than the same program in compiled C. I suggest using UPX to compress your translated executables. I usually get somewhere between 25% and 45% compression on my .exe files.