Andrei Alexandrescu, el 20 de enero a las 17:39 me escribiste: > 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 > >><llu...@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.
But that would mean moving a lot of funcionality from the runtime to object.d, which doesn't seems to be practical. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- VECINOS RESCATARON A CABALLITO ATROPELLADO -- Crónica TV