[fpc-devel] Suggestion: reference counted objects

Boian Mitov mitov at mitov.com
Mon Sep 22 23:37:08 CEST 2014

Actually, although on first glance different, anonymous methods are done as reference counted objects in Delphi, (well technically trough interfaces.), so since the anonymous method storage by definition has to be kept alive trough reference counting or similar approach, the topic is not that detached from this one.
PS: Why they call them anonymous methods when they are actually anonymous interfaced objects is something I always wondered about :-D . I guess mainly because of the syntax, not the content. i.e. name it based on the cover not the book :-D .

With best regards,
Boian Mitov

Mitov Software

From: Sven Barth 
Sent: Monday, September 22, 2014 2:25 PM
To: FPC developers' list 
Subject: Re: [fpc-devel] Suggestion: reference counted objects

Am 22.09.2014 22:23 schrieb "hinstance" <hinstance at yandex.ru>:
> I suggest doing one thing at a time. ARC class first, complex delegates capturing local context later

Considering that those are two different features that don't have anything to do with each other their development doesn't need to be serialized, but can happen in parallel ;)


fpc-devel maillist  -  fpc-devel at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140922/9f96f502/attachment.html>

More information about the fpc-devel mailing list