More radical ideas about gc and reference counting
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 3 04:37:11 PDT 2014
Am 03.05.2014 10:57, schrieb froglegs:
>
>> feels like writing C++ with C# syntax.
>
> Ahem. C++ has RAII k thanks. C++ > C# Proof.
Which does not work across threads, relies on stack allocations and has
issues if cleaning a resource implies having a not handled exception on
the destructor of the RAII class.
I rather make use of "using" and FP resource handling via lambdas.
--
Paulo
More information about the Digitalmars-d
mailing list