D and the demo scene
Sean Kelly
sean at invisibleduck.org
Wed Jul 23 13:40:33 PDT 2008
== Quote from Moritz Warning (moritzwarning at web.de)'s article
> On Wed, 23 Jul 2008 09:04:54 -0700, Sean Kelly wrote:
> > Mike wrote:
> >> On Wed, 23 Jul 2008 14:00:21 +0200, Moritz Warning
> >> <moritzwarning at web.de> wrote:
> >>
> > The .exe size is mostly related to the TypeInfo data, which is used by
> > the GC among other things. The new -lib switch in recent versions of
> > DMD is intended to help with this issue a bit.
> >
> >
> > Sean
> Is there some documentation or just some notes available that explains
> how the gc is integrated and how typeinfo is related to this.
> Or is there just the source?
Just the source. But basically, TypeInfo is passed to the runtime when
allocations occur, etc. These TypeInfo objects contain a "hasPointers"
flag that is in turn passed to the GC when allocations are performed.
Sean
More information about the Digitalmars-d
mailing list