Re: Size of translated programs

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu