[fpc-devel] compile time memory leak detection
zhubr at mail.ru
Tue Jan 19 14:47:08 CET 2010
19.01.2010 16:16, Thaddy:
> Nikolai Zhubr wrote:
>> I'd guess this would require huge work and substantial modifications
>> to the language though.
> The compiler then has to assert all possible codepaths... Do you think
> that's a viable option?
I don't have that much expertise to judge really, but I'd suppose this
can't be done at compile time completely.
On the other hand, refcounting at run-time could work, theoretically.
(IIRC long strings use refcounting already)
More information about the fpc-devel