Re: What if gc.disable at all

2009-09-25 Thread Sam Hu
Daniel Keep Wrote: > How about by reading the error message? > > Error 42:Symbol Undefined _D5tango4core6Memory2GC6addrOfFpvZPv > > --> > > Error 42:Symbol Undefined void* tango.core.Memory.GC.addrOf(void*) > > Ergo, you didn't link in tango.core.Memory, which it wants. Thanks a lot.But may I

Re: What if gc.disable at all

2009-09-24 Thread Daniel Keep
Sam Hu wrote: > Ah yes,I once translated most of Tango's tango.util.container.* into D2 > excluding one or two modules which heavily depends on Tango other modules.It > get compiled.However,the test program crashed with below error message: > Error 42:Symbol Undefined _D5tango4core6Memory2GC6a

Re: What if gc.disable at all

2009-09-24 Thread Sam Hu
Tom S Wrote: > As for AAs, you should be able to replace them with Tango's > tango.util.container.HashMap with the > tango.util.container.Container.Container.Malloc (or .Chunk) allocator. > > It might be tricky to find memory leaks due to accidental GC usage, but > you could e.g. hook the GC m

Re: What if gc.disable at all

2009-09-24 Thread Tom S
BCS wrote: Hello Sam, Greeting to everybody, If this is too silly a question,please just ignore it. I was wondering what if GC is turned off during the lifetime of the application?Just as if D is a better,safer/unsafer C with class?Can't work?Or some special stuff need to handle? There are

Re: What if gc.disable at all

2009-09-23 Thread Sam Hu
Thank you all for your help! Regards, Sam

Re: What if gc.disable at all

2009-09-23 Thread BCS
Hello Sam, Greeting to everybody, If this is too silly a question,please just ignore it. I was wondering what if GC is turned off during the lifetime of the application?Just as if D is a better,safer/unsafer C with class?Can't work?Or some special stuff need to handle? There are some parts

Re: What if gc.disable at all

2009-09-23 Thread Jarrett Billingsley
On Wed, Sep 23, 2009 at 8:14 AM, Sam Hu wrote: > Greeting to everybody, > > If this is too silly a question,please just ignore it. > > I was wondering what if GC is turned off during the lifetime of the > application?Just as if D is a better,safer/unsafer C with class?Can't work?Or > some specia

What if gc.disable at all

2009-09-23 Thread Sam Hu
Greeting to everybody, If this is too silly a question,please just ignore it. I was wondering what if GC is turned off during the lifetime of the application?Just as if D is a better,safer/unsafer C with class?Can't work?Or some special stuff need to handle? Thanks for your help in advance. Re