[fpc-devel] Proof of Concept ARC implementation
hinstance at yandex.ru
Thu Nov 20 00:08:09 CET 2014
I dunno. Just wanted to see if it is going to work with implicit
exceptions turned off. I rather dance around and fix memory leaks when
they appear than have implicit try-except block in every procedure. I
did measurements once; found out that each try-except adds increases
stack usage by about 60 bytes each.
19.11.2014 23:59, Sven Barth:
> On 19.11.2014 17:29, hinstance at yandex.ru wrote:
>> Here is the program I've been working on:
>> It was created with purpose of demonstrating how reference-counted
>> objects could be used in a program which actually does something and now
>> it works more or less.
>> And it's beautiful
> At least someone seems to be having fun with that branch ^^
> One question though: Why did you disable implicit exception handling?
> This way it's rather likely that there'll be memory leaks if an
> exception occurs inside a procedure/method that uses reference counted
> objects (or strings or arrays or interfaces for that matter...).
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel