Future Garbage Collector

Walter Bright newshound2 at digitalmars.com
Mon May 26 20:00:49 UTC 2025


On 5/24/2025 6:37 AM, mike_jack wrote:
> In short, rather than pursuing a perfect GC, giving developers the tools and 
> hooks to manage memory as needed might be the most pragmatic and powerful path 
> forward for D.

D allows complete freedom in selecting memory allocation strategies. The dmd 
compiler itself uses all of them:

1. GC

2. stack allocation

3. malloc/free (and mechanisms based on them)



More information about the Digitalmars-d mailing list