Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
brabel
· 6mo ago · 0 comments
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.
Comments
[–]
staticassertion
6mo ago
You can use arenas in Rust, it's just not as trivial to swap allocators generally. But there are plenty of crates for it.