std.allocator needs your help

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Sep 23 12:09:48 PDT 2013


On 9/23/13 11:24 AM, Walter Bright wrote:
> On 9/23/2013 3:17 AM, Manu wrote:
>> Sure, true. But little things like separate it into its own lib, so
>> you can
>> easily link a different one, or not link one at all.
>
> To link in a different one, put the different one on the link command
> before libphobos2.a. The different one will override the one in the
> library.
>
>> Also, what about language support?
>
> How it's done is deliberately not part of the language.
>
>> How much language support is there currently?
>
> Zero.

I think there's at least indirect support in e.g. generating typeinfo 
objects appropriately. Many of the components of those typeinfos are 
expressly defined for helping a tracing collector.

Andrei



More information about the Digitalmars-d mailing list