[D-runtime] Precise garbage collection

Leandro Lucarella leandro.lucarella at sociomantic.com
Mon Jul 1 03:10:14 PDT 2013


On Sat, Jun 29, 2013 at 10:34:32AM -0400, Michel Fortin wrote:
> Le 22-juin-2013 à 3:11, Walter Bright <walter at digitalmars.com> a écrit :
> 
> > Users really only want one gc.
> > 
> > [...]
> > 
> > We should pick precise collection and commit to it. And then add Leandro's concurrent collector on top!
> 
> I just want to point out that a concurrent collector that relies on
> "fork" will not work for iOS apps. Assuming someone would want to
> write one such app in D one day, the GC must still be able to work
> without "fork". It should work fine for sandboxed Mac apps though.

Yes, the collector will only enable the fork mechanism where it is
available (or makes sense, I don't know if iOS supports fork but stuff
break when you use it). Also forking should be user-configurable (all
this is true for the current version in Tango).

-- 
Leandro Lucarella
Senior R&D Developer
Sociomantic Labs GmbH <http://www.sociomantic.com>


More information about the D-runtime mailing list