The "no gc" crowd

Mehrdad wfunction at hotmail.com
Wed Oct 9 00:01:30 PDT 2013


On Wednesday, 9 October 2013 at 03:39:38 UTC, Andrei Alexandrescu 
wrote:
> 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


Mangle the @nogc it into the name?


More information about the Digitalmars-d mailing list