On heap segregation, GC optimization and @nogc relaxing

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 12 13:15:03 PST 2014


On Wednesday, 12 November 2014 at 12:49:41 UTC, Marc Schütz wrote:
> All this is unfortunately only true if there are no references 
> between heaps, i.e. if the heaps are indeed "islands". 
> Otherwise, there need to be at least write barriers.
>

Yes, that is exactly why I'm listing the case where these can be 
created in @safe code and propose a solution to plug the hole 
(and which brings other benefits along the road).


More information about the Digitalmars-d mailing list