Linking with a non-default druntime

Basile B. b2.temp at gmx.com
Mon Oct 1 08:27:54 UTC 2018


On Monday, 1 October 2018 at 07:17:59 UTC, Per Nordlöw wrote:
> On Sunday, 30 September 2018 at 19:53:02 UTC, Basile B. wrote:
>> this way you can very easily change-compile-test, without 
>> recompiling the whole runtime and phobos each time.
>
> Ok, thanks.
>
> Is it possible to register an extra GC in a separate program by 
> overriding the logic in `gc.proxy` in druntime?
>
> That would be the most effective way.

I think so. Apparently it's registered with a string, e.g 
"manual" and you pass a special druntime option with your program 
to select.
Actually i would be interested to make the interface with 
assignable handlers since you don't seem to be very hot. Maybe 
tomorrow i can try. I'm almost sure that this could work but cant 
be 100% sure. Maybe there'll be issues with privacy and events to 
assign.


More information about the Digitalmars-d-learn mailing list