Why “allocator” is being discussed
The most recent Hacker News stories and comments contributing to this topic's mentions.
I see, we can solve the problem of excess verbosity by duplicating our API surface ;) Jokes aside, that's not the worst idea (you often see the stdlib do something in a similar…
by hansvm · Oct 28, 2026
You can, but Odin does not mark these procedures contextless and indeed it mustn't because in some cases it will fill out the allocator values by looking in the context, which i…
by tialaramex · Oct 28, 2026
Or it can just live in the type system, as it does in Rust. This is basically always going to be cheaper, and for the case where you just want a single global default allocator…
by tialaramex · Oct 28, 2026
> if you understand how the CPU, memory, network, and disk are processing I don't think it's possible in the general case, it's way too complex for that. Sure for trivial exampl…
by gf000 · Oct 28, 2026
But you need to keep track of the allocator somewhere , as otherwise you don't know how to deallocate a container, or its contents. You either pay a very small cost in memory, o…
by 14113 · Oct 28, 2026
It’s great that they were created for this purpose, but I have a faster allocator in non-moving GC engine in C++. And I don't have to moving gigabytes of data.
by pebal · Oct 28, 2026
Interest
Proportion of Hacker News items mentioning "allocator" over time.
Mentions
Total number of Hacker News items mentioning "allocator" over time.
Allocation may refer to: Read more on Wikipedia