May 26 Re: Future Garbage Collector | ||||
---|---|---|---|---|
| ||||
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)
|
Copyright © 1999-2021 by the D Language Foundation