Hooking into GC

MMJones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 28 19:18:27 PDT 2016


I read somewhere that one can modify the D files from phobos and 
runtime to supply a stub for the GC. I would like to add some 
logging features to the GC.

Does this not require one to recompile phobos? I figured the 
source code was just for debugging?

I'm curious if I can really get away with modifying the source 
code in dmd2's dir and it will actually work. I guess I could try 
but I don't wanna go mess with it if it's not going to do 
anything.



More information about the Digitalmars-d-learn mailing list