The "no gc" crowd

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Oct 8 20:46:16 PDT 2013


On 10/8/13 8:31 PM, Walter Bright wrote:
> On 10/8/2013 8:18 PM, deadalnix wrote:
>> We also badly need to be able to use type qualifier. We must
>> stop the world when collecting thread local data or immutable one.
>> That do not
>> make any sense.
>
> Making this work is fraught with difficulty. It is normal behavior in D
> to create local data with new(), build a data structure, and then cast
> it to shared so it can be transferred to another thread.

Stop right there. NO. That is NOT normal behavior, and if we require it 
in order to work we have made a mistake.

There should be NO casting required to get work done in client code.


Andrei




More information about the Digitalmars-d mailing list