[OT] LLVM Community Code of Conduct

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 16 01:58:23 PDT 2015


On Friday, 16 October 2015 at 08:43:12 UTC, German Diago wrote:
> On Friday, 16 October 2015 at 08:11:18 UTC, John Colvin wrote:
>> On Friday, 16 October 2015 at 08:03:06 UTC, German Diago wrote:
>>> [...]
>>
>> Just a small note FYI, there's an easy way to get a feel for 
>> the current state of GC reliance:
>>
>> void main() @nogc
>> {
>>     // try stuff out
>> }
>
> Thanks for the tip. Is this 100% reliable?

As far as I know, yes. @nogc can be put on any function and will 
guarantee that no GC code will run inside that function or 
anything else it calls.


More information about the Digitalmars-d mailing list