D Language 2.0

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jan 20 17:39:13 PST 2010


Leandro Lucarella wrote:
> Danny Wilson, el 20 de enero a las 16:44 me escribiste:
>> On Wed, 20 Jan 2010 14:18:52 +0100, Leandro Lucarella
>> <llucax at gmail.com> wrote:
>>
>>> Again? RC is *not* -nogc, is -anothergc. And reference counting won't do
>>> the trick unless you add a backing GC to free cycles. What I mean about
>>> -nogc is *no* GC, is "please, mr compiler, give me an error when a GC
>>> facility is used".
>> I guess a custom object.d  which static asserts as soon as a GC
>> facility is used would do that trick?
> 
> I don't see how you can do that, all the code calling the GC is in the
> runtime AFAIK.

Things can be arranged such that all calls originate in object.d.

Andrei



More information about the Digitalmars-d mailing list