Blog Post - Avoiding The GC in D: Stack, Buffers & Arenas
Christian Köstlin
christian.koestlin at gmail.com
Mon May 11 17:21:12 UTC 2026
On Saturday, 9 May 2026 at 12:14:05 UTC, Kapendev wrote:
> Hey, I wrote a post about manual memory management in D.
> It covers stack allocation, static buffers, allocators, AND
> `@nogc`.
> Hope this helps clear up some of the confusion around MMM for
> those new to D :)
>
> Link:
> https://dev.to/kapendev/avoiding-the-gc-in-d-stack-buffers-arenas-21o8
Nice article.
Not sure if it make sense to mention `scope i = new ClassI();`
(see https://forum.dlang.org/post/om7cca$21fn$1@digitalmars.com
for discussions about its deprecation and so on).
Kind regards,
Christian
More information about the Digitalmars-d-announce
mailing list