[OT] Re: Why don't you advertise more your language on Quora etc ?

bachmeier via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 6 08:36:54 PST 2017


On Monday, 6 March 2017 at 15:40:54 UTC, Rico Decho wrote:
> If I remember well the garbage collection could be triggered 
> during any allocation, for instance when concatenating some 
> displayed text, and freeze all threads until the garbage 
> collection is done.

My understanding is that GC can be triggered only when you do an 
allocation with GC memory. And if you use @nogc (which to my 
knowledge works) you cannot call anything that might trigger a 
garbage collection.

https://dlang.org/spec/attribute.html#nogc



More information about the Digitalmars-d mailing list