Hacker News
new
past
comments
ask
show
jobs
points
by
josephg
7 hours ago
|
comments
by
brabel
4 hours ago
|
[-]
In zig the solution is to use an arena allocator. That’s about as easy as it gets. Maybe Rust also allows doing that, I don’t know.
reply
by
staticassertion
40 minutes ago
|
parent
|
[-]
You can use arenas in Rust, it's just not as trivial to swap allocators generally. But there are plenty of crates for it.
reply