Status of @nogc with the runtime

Adam D. Ruppe destructionator at gmail.com
Sat Feb 17 23:43:07 UTC 2018


On Saturday, 17 February 2018 at 18:03:44 UTC, Peter Campbell 
wrote:
> Andrei mentioned at his DConf presentations is that the runtime 
> itself will be modified to not rely on the GC, allowing for you 
> to continue using features such as associative arrays and array 
> concatenation, but without requiring the garbage collector. Is 
> my understanding correct?

I haven't heard anything about that, and I doubt it would happen. 
How would you actually manage the memory? The front-facing api 
there doesn't offer any access to it.

But, of course, it is quite easy to write your own types that do 
the same stuff (including operator overloading, of course) that 
do expose memory management, and you can use those with or 
without the runtime.


More information about the Digitalmars-d mailing list