Opinion of February 2012

Artur Skawina art.08.09 at gmail.com
Fri Feb 3 17:48:54 PST 2012


On 02/04/12 01:28, H. S. Teoh wrote:
> I agree with this. Based on current documentation, I didn't even know
> the GC can be replaced at compile-time until someone mentioned it. And
> up to now I still don't know how exactly to do this, since I couldn't
> find any docs for it.

There's nothing special about the GC, you just need to link to your
implementation. Or take the one from druntime, modify it and make sure
the object containing the necessary symbols is found before the std
library, eg by compiling MyGCImpl.d together with the other D source
files. That's all.

artur


More information about the Digitalmars-d mailing list