<p>I just want to remind you people (whoever is working on it) that ARC is already implemented in FPC for interface types and I am personally satisfited with the way <em>it works now</em> for interface variables, and only wish that I could enable this feature for class instance variables. Can't someone just, you know, Ctrl+C & Ctrl+V it?<br /><br /><br />21.09.2014, 21:18, "Boian Mitov" <<a href="mailto:mitov@mitov.com">mitov@mitov.com</a>>:</p><blockquote>šIn general I would prefer to see this implemented with attributes rather<br />šthan with new keywords. For god shake, we already have more keywords in this<br />šlanguage than it is healthy. We should be extremely cautions when adding new<br />šones.<br />šThat is one of the beauty of the attributes. They can eliminate a large<br />šnumber of keywords, and expand the language dynamically (trough the library<br />šnot trough the compiler).<br />šIf you implement it with attributes, there is almost no need for any big<br />šchanges in the compiler at least in the parsing side. Adding new keyword<br />šwill probably propagate all the way to the tokenizer.<br /><br />šWith best regards,<br />šBoian Mitov<br /><br />š-------------------------------------------------------<br />šMitov Software<br />š<a href="http://www.mitov.com/">www.mitov.com</a><br />š-------------------------------------------------------<br />š-----Original Message-----<br />šFrom: Sven Barth<br />šSent: Sunday, September 21, 2014 4:12 AM<br />šTo: <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br />šSubject: Re: [fpc-devel] Suggestion: reference counted objects<br /><br />š=== code begin ===<br /><br />štype<br />ššššTARCObject = class refcounted(TObject)<br /><br />ššššend;<br /><br />š=== code end ===<br /><br />š=== code begin ===<br /><br />štype<br />ššššTSomeClass = class(TARCObject)<br />šššššš// ...<br />ššššššOwner: TSomeClass weak;<br />šššššš// ...<br />ššššend;<br /><br />š=== code end ===<br /><br />š_______________________________________________<br />šfpc-devel maillist š- š<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br />š<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a></blockquote>