It's common to see new D users talking about @nogc and -betterC when discussing Manual Memory Management (MMM). In a way, it makes sense. Both are closely related to it based on their names. One of them is literally called "no GC." This might sound strange given their names, but neither @nogc nor -betterC is actually MMM. They don't tell you how memory is allocated or when allocation happens. A @nogc function could allocate or it could not. What they do tell you is that one type of allocator, th
Comment
Sign in to join the discussion.
Loading comments…