Log in - Embarcadero Technologies


Delphi Generics - Please Improve Compiler and Linker to avoid extreme Bloating compared to C#

Based on the discussion during the last few days I decide to create a test sample to compare Delphi <-> C#.

see https://quality.embarcadero.com/browse/RSP-16520

Not that I expect that something will happen to improve but in German we say
"Hope is the last to die".

Comments

  1. Ville Krumlinde Which uses link time code optimisation

    ReplyDelete
  2. Dalija Prasnikar A little bit late, but I had to run some more tests before answering (added more feedback to https://quality.embarcadero.com/browse/RSP-16520)

    In summary: $WEAKLINKRTTI brings about 33% less bloating of the resulting Execute. Using an alternative implementation of TObjectList could help as well. But I still think that EMBT should constantly try to optimize the generics compiler/linker environment. And to be fair Delphi Berlin 10.2 brought already a factor of about 4 under win32 in linker speed.
    quality.embarcadero.com - Log in - Embarcadero Technologies

    ReplyDelete

Post a Comment