Yes. The problem with object oriented frameworks is that the virtual method tables of objects always depend on all virtual methods, i.e. if you use an object, all of its virtual methods are included in the exe; with normal dependency analysis (which is what both Delphi and FPC do) the linker has no way to remove them. This is the reason why most OOP frameworks are reasonably large, i.e. Borland's VCL, Trolltech's QT, Microsoft's Foundation Classes are all huge. Some frameworks hide their code in DLL's, but the code is there.Originally Posted by lepidosteus
Expect some compiler tricks in the future. But do not expect that the compiler can vapourize the exes: the right way is to shrink the libraries.
Bookmarks