Re: [fpc-pascal] Why win64 program are considerably bigger in exe size than win 32?

2017-12-23 Thread Marco van de Voort
In our previous episode, leledumbo via fpc-pascal said:
> > Why?
> 
> At least pointer size takes double space, multiply it with every instances
> 1.5x bigger is not impossible.

For memory size, however the question was about binary size. And in
instructions usually the full 64-bits of immediate pointers are not stored
(and even less so on Windows where addresses are afaik rip relative)

Still the average instruction length goes up. That said, many binary size
details are not known. 
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Why win64 program are considerably bigger in exe size than win 32?

2017-12-23 Thread Mark Morgan Lloyd

On 22/12/17 12:45, leledumbo via fpc-pascal wrote:

Why?

At least pointer size takes double space, multiply it with every instances1.5x 
bigger is not impossible.


Particularly if the binary contains debugging information.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal