On 04-10-2012 08:49, Jacob Carlborg wrote:
On 2012-10-04 00:01, DypthroposTheImposter wrote:
  Did that hook thing to let peoples write custom GC ever make it in?

Yes, it's pluggable at link time. Here's an example of a stub
implementation:

http://www.dsource.org/projects/tango/browser/trunk/tango/core/rt/gc/stub

It's for Tango but the runtimes are basically the same.


More relevant to D2: https://github.com/D-Programming-Language/druntime/tree/master/src/gcstub

(Though admittedly nobody has built it for a while - so, disclaimer: there may be some silly build errors if you try to build it, but they should be easy to fix.)

--
Alex Rønne Petersen
a...@lycus.org
http://lycus.org

Reply via email to