RFC: moving forward with @nogc Phobos

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 3 12:50:41 PDT 2014


On 10/3/14, 11:27 AM, Dmitry Olshansky wrote:
> 29-Sep-2014 14:49, Andrei Alexandrescu пишет:
>> Back when I've first introduced RCString I hinted that we have a larger
>> strategy in mind. Here it is.
>
> [snip]
>
> I think it would be well worth it to actually do a bit of research.
> Before we get into the fry and spill blood (or LOCs) everywhere.
>
> Can we:
>
> 1. Present a list of allocating functions.

Awesome. I just started 
http://wiki.dlang.org/Stuff_in_Phobos_That_Generates_Garbage and I 
encourage us all to add to it (sorted by module and then by artifact name).

> 2. What they (currently) allocate: string, T[], V[K] or something else.

Mention that in the "Possible Fix(es)" column.

> 3. See what alternatives they have (that do not allocate if any).

Yah.

> 4. Plot course for these that do not have. (Just listing how function
> signature would change is good enough).

Yah.

> Thanks!
>
> P.S. If there are no takers I'd get do myself it in a week or so.

Let's all get this rolling!


Andrei



More information about the Digitalmars-d mailing list