GC has a "barbaric" destroyng model, I think

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 12 05:11:48 PST 2015


On Thu, 12 Feb 2015 12:52:02 +0000, Andrey Derzhavin wrote:

> If we can't relay on GC wholly, there is no need for GC.
> All of the objects, that I can create, I can destroy manually by myself,
> without any doubtful GC destroying attempts.

sure. but when it comes, for example, for big data structures with 
complex cross-references, you'll inevitably found that you either leaking 
memory, or writing your own half-backed semi-working GC realization.

ah, good luck doing effecient refcounting on slices, for example. and 
they aren't even remotely complex.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150212/2cc640f0/attachment.sig>


More information about the Digitalmars-d-learn mailing list