[fpc-devel] Re: dominant short strings in compiler source

Daniël Mantione daniel.mantione at freepascal.org
Fri May 19 19:14:06 CEST 2006



Op Fri, 19 May 2006, schreef Flávio Etrusco:

> > Free Pascal is Delphi compatible.
> 
> I know that FPC aims to be Delphi-compatible, but it's not always the
> case, as e.g. the WideStrings were reference-counted until a couple of
> months ago.
> So you are saying that in this is specific case FPC is already
> (unfortunately, as for the WideStrings case) compatible with Delphi?

Yes, that is what I meant of course :)

> Wow, thanks really a lot for all the info :-)
> What is the disassembler you use? Is there any nice free one? I'll try
> to digest that assembly since I'm not a "close friend" to it ;-)
> Also, that case is IMHO the bad case of AnsiString (i.e. we have to
> add a reference). I'm more interested if there's any overhead when
> reading from a 'const' string parameter...

Yes, there is a really nice one and it is called Free Pascal :)

I used "fpc program.pas -al -Anasmelf -s -O2" to get the assembler 
outputs.

Daniël


More information about the fpc-devel mailing list