Forum > Windows

How to reduce EXE program size?

<< < (11/14) > >>

marcov:

--- Quote from: y.ivanov on April 11, 2021, 08:29:34 pm ---@marcov
Sorry, that is what I have  :(

--- End quote ---

Well, then you just have to believe me  that for small binaries, Delphi versions that support unicode are roughly twice as big.

FPK:

--- Quote from: Fred vS on April 11, 2021, 08:03:10 pm ---
--- Quote from: winni on April 11, 2021, 07:48:11 pm ---Hi!

I recognized that some people don't have a feeling what a kilobyte is related to a gigabyte. For those a graphic is always helpfull.

In the attachment.

Winni

--- End quote ---

Here with arduino 32 Kb ram + 2 KB flash.

--- End quote ---

% fpc11avr -Wpattiny10 empty.pp
Free Pascal Compiler version 3.3.1 [2021/04/11] for avr
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Embedded
(3104) Compiling empty.pp
(9009) Assembling program
(9015) Linking empty
(1008) 2 lines compiled, 0.0 sec, 94 bytes code, 0 bytes data

PascalDragon:

--- Quote from: marcov on April 11, 2021, 08:36:54 pm ---
--- Quote from: y.ivanov on April 11, 2021, 08:29:34 pm ---@marcov
Sorry, that is what I have  :(

--- End quote ---

Well, then you just have to believe me  that for small binaries, Delphi versions that support unicode are roughly twice as big.

--- End quote ---

Empty console program compiled with Delphi 10.2 for Win32:

41 984 Byte

With WEAKLINKRTTI ON:

36 352 Byte

So marcov's estimation of roughly twice as big is correct. ;)

FPK:
And "Hello world" on Amiga 244 Bytes: https://github.com/chainq/amiga-tiny-hello-p

y.ivanov:

--- Quote from: marcov on April 11, 2021, 08:36:54 pm ---
--- Quote from: y.ivanov on April 11, 2021, 08:29:34 pm ---@marcov
Sorry, that is what I have  :(

--- End quote ---

Well, then you just have to believe me  that for small binaries, Delphi versions that support unicode are roughly twice as big.

--- End quote ---

I truly believe. I have not disputed it. Just tried to supply some figures.  ::)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version