Garbage Collection and gamedev - tl;dr Yes we want it, so let's solve it

Adam D. Ruppe destructionator at
Mon Nov 23 04:04:44 UTC 2020

On Monday, 23 November 2020 at 03:53:04 UTC, RazvanN wrote:
> And then there are many functions like this in druntime:

Do you have a specific example in there now? Your little given 
example uses assert and would thus be compiled out anyway of the 
normal druntime build.

> Also if you want to format the message of the assert, normally 
> you would use `~` however, you want your function to be @nogc

With the `debug` keyword you can do stuff like this. Of course 
only sometimes compiled in so not necessarily helpful to druntime 
but maybe.

More information about the Digitalmars-d mailing list