DIP60: @nogc attribute

qznc via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 16 08:01:51 PDT 2014


On Tuesday, 15 April 2014 at 17:01:38 UTC, Walter Bright wrote:
> http://wiki.dlang.org/DIP60
>
> Start on implementation:
>
> https://github.com/D-Programming-Language/dmd/pull/3455

Good start.

However, what is still an open issue is that @nogc can be stopped 
by allocations in another thread. We need threads which are not 
affected by stop-the-world. As far as I know, creating threads 
via pthreads C API directly achieves that, but integration with 
@nogc could provide more type safety. Stuff for another DIP?


More information about the Digitalmars-d mailing list