Improve reability of GC on win64

Temtaime via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 24 12:30:46 PDT 2016


On Thursday, 24 March 2016 at 18:58:56 UTC, Adam Wilson wrote:
> On 3/24/2016 11:25, Temtaime wrote:
>> [...]
>
> That is an interesting hack, but I would think it is rather 
> brittle.
>
> Their are two long-term solutions that will get you want you 
> want. The first is to avoid the GC altogether and manually 
> allocate everything. The second is a Precise GC. And while it's 
> impossible to be 100% precise GC given that we have unions and 
> C-compatibility, for your use case I imagine the precision 
> would give you most of what you need.
>
> Interestingly enough, there is a GSoC candidate this year that 
> is proposing a project that would make the D GC precise.

Yes, i think precise gc can solve all the problems and it'll 
great.
And what's a problem with unions by the way ? By specs, currently 
it's forbidden to have union with pointers and value types.


More information about the Digitalmars-d mailing list