[fpc-devel] Discussion about "Dynamic packages"

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Apr 13 12:03:44 CEST 2017


On Thu, 13 Apr 2017 11:28:02 +0200
Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:

>[...]
> The intended purpose of dynamic packages (and libraries in general) is not
> to save memory (in fact a binary plus packages would be much larger than
> the statically compiled binary), but to share *binary* code so that this
> code does not need to reside in multiple executables.

'What do we need them for? What's "special" about packages?':

http://wiki.freepascal.org/packages#What_do_we_need_them_for.3F_What.27s_.22special.22_about_packages.3F

 
>[...]
> It isn't merely the memory management. The Object Pascal RTL exists of much
> more than just memory management: there is exception handling, the RTTI,
> resource strings, unit initialization and finalization.

Good examples. I added them. 

Mattias



More information about the fpc-devel mailing list