Idea #1 on integrating RC with GC
Marco Leise
Marco.Leise at gmx.de
Wed Feb 5 11:10:22 PST 2014
Am Wed, 05 Feb 2014 17:24:44 +0000
schrieb "Ola Fosheim Grøstad"
<ola.fosheim.grostad+dlang at gmail.com>:
> You could put in a function pointer to a deallocator (c-malloc,
> QT, GTK or some other library deallocator etc) and other kind of
> meta information that makes you able to treat reference counting
> in a uniform manner even for external resources.
Now that sounds interesting. That's an area where AGC
typically doesn't kick in, because it can only see the small
amount of memory used on the D wrapper side.
--
Marco
More information about the Digitalmars-d
mailing list