[fpc-pascal] making FPC more code optimized

Florian Klämpfl florian at freepascal.org
Sun Apr 29 14:55:49 CEST 2012


Am 29.04.2012 14:23, schrieb Jorge Aldo G. de F. Junior:
> What would be usefull is to move the loads of code stored in
> sysutils/runtime into a dll/so.
> 
> thats what makes C code look "smaller", theres a nice libc (and
> others) there that groups mostly used functions into a single
> instance, while in pascal every executable replicates the very same
> code for each instance.
> 
> make sysutils/runtime etc an external loadable library and we are
> going to see FPC generate similar sized executables for similarly
> sized programs.

It makes them look smaller but their footprint is actually larger so
this is exactly what Ido doesn't want.



More information about the fpc-pascal mailing list