The state of Rust allocators in 2026: stabilised
discuss
- Points184
- Comments74
discuss
Story details from Hacker News ↗ · linked article on cetra3.github.io.
The state of Rust allocators in 2026: stabilised was first seen on Hacker News · Front page on Nov 30, 2026. Since then it has appeared in 58 checks on 1 different day. Its best position was #2 of 30, reached on Nov 30, 07:29 UTC. It dropped off the list after Nov 30, 20:14 UTC. The same link also trended on Lobsters, which raises its cross-platform score.
Position on Hacker News · Front page at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Hacker News.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Hacker News · Front page | #2 | 1 | 58 | |
| LLobsters · Hottest The State of Allocators in 2026 - Finally Stabilised | same link | |||
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
I use Jemalloc in a specific project because it keeps per-thread allocation counters, so I can both monitor how much memory a thread is actively using (and how much it has allocated and deallocated), and I can limit it. This is an incredible feature, and it's a hard requirement for this particular project, and a good…
Good luck to all people who are going to try implementing allocators! Last time I tried, even the standard containers were giving different layouts to allocate and deallocate. Also as a bonus, you get to put another template parameter to all of your containers!
> Instead, what if we knew that we would have a period of time in our code, where we're going to allocate a lot of stuff, do something with it, and then free everything? A good example of this is a web request, or a database query. > A request comes in, fills in some data structures, and then when the request…
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. It was last on the list on Nov 30, 20:14 UTC, after 1 day of trending.
#2 on Hacker News · Front page, on Nov 30, 07:29 UTC. Trendoday checks this list every 15 minutes.
It was first seen on Nov 30, 2026 and has been on the list on 1 day (58 checks) since.
184 points and 74 comments; submitted by fanf2 on Nov 28, 2026.