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

Marco van de Voort marcov at stack.nl
Sat Dec 23 22:16:55 CET 2017

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. 

More information about the fpc-pascal mailing list