GC, memory leaks and 32/64 bit
Benjamin Thaut
code at benjamin-thaut.de
Tue Mar 12 14:02:19 PDT 2013
Am 12.03.2013 21:08, schrieb Rob T:
> On Tuesday, 12 March 2013 at 14:21:06 UTC, bearophile wrote:
>> Benjamin Thaut:
>>
>>> Thats not correct. Rainer Schuetze has finished it and is using it
>>> for VisualD. You can get a version of druntime which the percise GC
>>> from his github branch https://github.com/rainers/dmd
>>
>> I am glad to be wrong :-)
>>
>> Do you know how well the new GC is working?
>>
>> Bye,
>> bearophile
>
> It should be a plugin so that components like an alternate GC can be
> swapped in and out easily. I hope once shared lib support becomes
> available we'll finally see plugins introduced into dmd.
>
> --rt
This is not possible as different kinds of GCs need to generate
different runtime data at compile time. The current GC for example does
not need any runtime data (other then what the D typeinfo system already
provides) but the percicse GC needs additional runtime information, so
you can't just "swap" them. You need to recompile.
Kind Regards
Benjamin Thaut
More information about the Digitalmars-d-learn
mailing list