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.