Thread-local GC?

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 11 10:30:00 PDT 2014


On Friday, 11 July 2014 at 06:44:11 UTC, Paulo Pinto wrote:
> On Thursday, 10 July 2014 at 03:21:03 UTC, Jonathan M Davis via 
> Digitalmars-d wrote:
>>...
>> So, if we can figure out how to do it, great, but the fact 
>> that D's a systems
>> language has a tendancy to make some stuff like that not work 
>> as easily as
>> would be nice.
>>
>> - Jonathan M Davis
>
> Sure, but maybe there is too much flexibility that isn't really 
> needed, rather a more GC friendly one, which still allows for 
> typical systems programming use cases.
>
> A good approach would be to do a bit of archeology and try to 
> research how GC enabled systems programming languages like 
> Cedar, Modula-3, Oberon derivatives and Sing# had their GCs 
> implemented across the available compilers. And respective OS.
>
> To certain extent, they were good enough to produce workable 
> desktop OS.
>
> --
> Paulo

The action that cause trouble for the GC are already defined as
undefined by spec and @system. For once, we did things right with
the spec.


More information about the Digitalmars-d mailing list