__typeid
rikki cattermole
rikki at cattermole.co.nz
Sat Aug 1 18:31:39 UTC 2020
On 02/08/2020 6:23 AM, Andrei Alexandrescu wrote:
> On 8/1/20 12:23 PM, rikki cattermole wrote:
>> Oh good so we are finally tackling runtime reflection-esque capabilities!
>>
>> Obvious concern of mine: how it handles shared library support
>> including when unloading.
>
> In an ideal world the GC would automatically close libraries of which
> code is no longer used. I don't know if that's possible.
globalVar = new SharedLibThingy;
unload(sharedLib);
// ugh oh globalVar still exists!
Something I was thinking about this, would be a kind of 'audit pass'
that the GC could offer. Maybe even nullifying references that it finds.
More information about the Digitalmars-d
mailing list