On 11 April 2013 10:53, Walter Bright <newshound2@digitalmars.com> wrote:
On 4/8/2013 5:06 AM, Jacob Carlborg wrote:
I don't know. The thread safe example probably works better with an annotated
type than nogc.

@nogc would have to be enforced by the compiler. Furthermore, it's viral in that much of the runtime library would have to be gone through and marked @nogc, otherwise it would be fairly useless.

It's a fairly intrusive change.

As a key user, I can't say I'd even want to use this. I'd rather just see time put into improving the GC, making it more practical/flexible ;)