The "no gc" crowd

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Oct 8 20:39:37 PDT 2013


On 10/8/13 4:45 PM, Jonathan M Davis wrote:
> On Wednesday, October 09, 2013 01:04:39 Tourist wrote:
>> I thought about an alternative approach:
>> Instead of using a (yet another) annotation, how about
>> introducing a flag similar to -cov, which would output lines in
>> which the GC is used.
>> This information can be used by an IDE to highlight those lines.
>> Then you could quickly navigate through your performance-critical
>> loop and make sure it's clean of GC.
>
> That sounds like a much less invasive approach no a @nogc attribute.

Problem is with functions that have no source available.

Andrei



More information about the Digitalmars-d mailing list