On Thursday, 23 October 2014 at 09:53:44 UTC, Kagamin wrote:
On Thursday, 23 October 2014 at 08:46:46 UTC, Dicebot wrote:
Currently druntime is packaged as part of Phobos library
binary so I don't see easy way to do it. It could be possible
to do the replacement at the startup using GC Proxy
instrastructure but CDGC does not currently support it (though
it is not complicated to do).
The idea is that you specify CDGC dub package a dependency for
your application and dub links your application with it, so you
end up with CDGC in your application.
Uh, what will it link to? extern(C) function like gc_malloc?
druntime links to those statically itself so you will get
application that links to different GC than druntime itself. Or
am I misunderstanding what you propose?