Why “allocator” is being discussed
The most recent Hacker News stories and comments contributing to this topic's mentions.
The C3 temp allocator leans into this though. It’s not a frame allocator but acts like a stack allocator. It solves the ”oh, how do you make sure the data you got back is proper…
by lerno · Sep 22, 2026
Memory allocation?? Why? Real world, you'll bump into limits based on fonts long before you'll get a buffer that's too large for the stack and worth using the memory allocator f…
by LorenPechtel · Sep 21, 2026
> Arenas make lots of sense for video games, but their applicability for these other applications is much more dubious. It's a fairly common pattern in non-video contexts to pre…
by zbentley · Sep 20, 2026
Rust supports arena allocator https://docs.rs/bumpalo/latest/bumpalo/ and the dropping plays well with arena as long as you use bumpalo::boxed::Box
by delifue · Sep 20, 2026
It's technically possible to perform arena-based allocation and still have compiler checks. The compiler just need to track objects allocated with an allocator and prevent destr…
by Panzerschrek · Sep 20, 2026
Yes, that would work. But you would need to carry pointer to allocator inside box and it is extra code to run for every object.
by delamon · Sep 20, 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