www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Precise GC

reply dsimcha <dsimcha yahoo.com> writes:
Just out of curiosity, is there any talk of any implementation of D getting
precise GC in the near future?  It seems like when running programs that
actively use a large fraction of the 32-bit address space, the partially
conservative nature of D's GC can actually become a significant limitation.
On the other hand, the long-term solution is 64-bit.  Is precise GC
technically possible with D, and if so, is there anyone seriously thinking of
implementing it?
Aug 04 2008
next sibling parent "Vladimir Panteleev" <thecybershadow gmail.com> writes:
On Tue, 05 Aug 2008 06:57:22 +0300, dsimcha <dsimcha yahoo.com> wrote:

 Just out of curiosity, is there any talk of any implementation of D  
 getting
 precise GC in the near future?  It seems like when running programs that
 actively use a large fraction of the 32-bit address space, the partially
 conservative nature of D's GC can actually become a significant  
 limitation.
 On the other hand, the long-term solution is 64-bit.  Is precise GC
 technically possible with D, and if so, is there anyone seriously  
 thinking of
 implementing it?
*delurk* It's not possible without quite a bit of internal redesign, and there are still conceptual problems (e.g. stack layout of C library code). I don't think it's in the plans at all. -- Best regards, Vladimir mailto:thecybershadow gmail.com
Aug 05 2008
prev sibling parent Leandro Lucarella <llucax gmail.com> writes:
dsimcha, el  5 de agosto a las 03:57 me escribiste:
 Just out of curiosity, is there any talk of any implementation of D getting
 precise GC in the near future?  It seems like when running programs that
 actively use a large fraction of the 32-bit address space, the partially
 conservative nature of D's GC can actually become a significant limitation.
 On the other hand, the long-term solution is 64-bit.  Is precise GC
 technically possible with D, and if so, is there anyone seriously thinking of
 implementing it?
I will be doing some reserch in the next few months as part of my graduate thesis. Don't expect too much of this, it will be pretty limited (to Linux+x86, only 32-bits probably). I'm setting up a blog to leave there my advance, i'll post it here when it's online. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- You should've seen her face. It was the exact same look my father gave me when I told him I wanted to be a ventriloquist. -- George Constanza
Aug 05 2008