Worst ideas/features in programming languages?
deadalnix at gmail.com
Mon Oct 18 11:33:02 UTC 2021
On Monday, 18 October 2021 at 11:08:08 UTC, Ola Fosheim Grøstad
> Well, yes, malloc is only the default, when people want speed
> in system level programming they create their own allocators.
It doesn't matter. These allocator need memory from the system
and almost always use malloc do get it. Which as far as the GC is
concerned, it the only thing that is needed. It doesn't matter if
you malloc each object or if you malloc a large slab and then
manage it manually.
More information about the Digitalmars-d