Avoiding GC

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 26 01:39:45 PDT 2016


On Wednesday, 26 October 2016 at 08:18:07 UTC, hardreset wrote:
> Is there a page somewhere on how to program D without using the 
> GC? How do I allocate / free structs / classes on the heap 
> manually? New would be GCed memeory wouldnt it? Delete is being 
> depreciated?
>
> thanks.

Probably you want to read:
https://dlang.org/phobos/std_experimental_allocator.html

Anyway GC works really good for common software development.


More information about the Digitalmars-d-learn mailing list