Why D is not popular enough?
Vadim Lopatin via Digitalmars-d
digitalmars-d at puremagic.com
Mon Aug 22 03:54:14 PDT 2016
On Monday, 22 August 2016 at 07:05:01 UTC, Shachar Shemesh wrote:
> On 22/08/16 09:31, Vadim Lopatin wrote:
>> On Friday, 12 August 2016 at 19:29:42 UTC, Shachar Shemesh
>>> - No RAII support, despite the fact everybody here seems to
>>> think that
>>> D supports RAII.
>>> Shachar
>>
>> There IS RAII in D.
>> I'm using it in DlangUI extensively for managing resources.
>>
>
> Then, depending on your precise use, you might have leaks.
To avoid leaks, it's necessary to prevent destructor calling from
GC for objects which hold resources - they have to be called
manually via destroy() or by some RAII technique.
I'm using Reference Counting.
More information about the Digitalmars-d
mailing list