@gc attribute for bypassign @nogc

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 24 16:22:28 PDT 2016


On Sunday, 24 July 2016 at 23:14:37 UTC, bitwise wrote:
> I don't understand what you mean, saying it's useless.

exactly that. in the end i can't mark any code @nogc except very 
trivial, where it doesn't matter at all (primitive getters and 
setters). in other code i ocasionally need to allocate or throw. 
so you have to ditch @nogc anyway.

and yes, i'm talking about engines that should maintain solid 60 
FPS.

and for "safety nets" i prefer to use "-vgc" after i done some 
amount of work to see if i accidentally missed something.


More information about the Digitalmars-d mailing list