DIP60: @nogc attribute

Tove via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 15 12:49:26 PDT 2014


On Tuesday, 15 April 2014 at 19:44:39 UTC, John Colvin wrote:
> On Tuesday, 15 April 2014 at 19:40:50 UTC, Walter Bright wrote:
>> On 4/15/2014 12:14 PM, Steven Schveighoffer wrote:
>>> On Tue, 15 Apr 2014 14:41:36 -0400, Steven Schveighoffer 
>>> <schveiguy at yahoo.com>
>>> wrote:
>>>
>>>> On Tue, 15 Apr 2014 13:01:40 -0400, Walter Bright 
>>>> <newshound2 at digitalmars.com>
>>>> wrote:
>>>>
>>>>> http://wiki.dlang.org/DIP60'
>>>>
>>>> Wow, that's quite underspecified.
>>>
>>> What specifically is prevented?
>>
>> All calls to the GC.
>
> What about GC calls that cannot cause a collection? Do they 
> even exist?

Yes, please all, even "harmless" calls. This way you are 
guaranteed that you can include @nogc modules in projects which 
doesn't even link with a GC.


More information about the Digitalmars-d mailing list