draft proposal for ref counting in D

David Nadlinger code at klickverbot.at
Thu Oct 17 10:16:37 PDT 2013


On Thursday, 17 October 2013 at 17:11:06 UTC, Sean Kelly wrote:
>> And even if this is doable in respect to DMD its going to be a 
>> big problem for GDC or LDC to change the codegen.
>
> Yes, any pointer anywhere. I recall someone posting a doc about 
> a compromise solution a few years back, but I'd have to do some 
> digging to figure out what the approach was.

LLVM actually comes with a quite expensive GC support 
infrastructure: http://llvm.org/docs/GarbageCollection.html. As 
far as I'm aware, it is not widely used in terms of the  
"top-tier" LLVM projects, so there might be quite a bit of work 
involved in getting that to run.

David


More information about the Digitalmars-d mailing list