News for hackers. Stuff that matters.
Re:A new ProtoBuf generator for Go by shoefindortz on Thursday June 03, 2021 @03:27PM (#27386160)
Rust has an arena allocator too[1], but it is implemented with 165(!!!) usages of unsafe. :)

[1] https://github.com/fitzgen/bumpalo

Re:A new ProtoBuf generator for Go by coder543 on Thursday June 03, 2021 @04:29PM (#27386889)
This is far from the only arena allocator written in Rust.

From the same author, a zero-unsafe arena allocator: https://github.com/fitzgen/generational-arena

There are many, many arena implementations available with varying characteristics. It's disingenuous to act like Rust requires the author of an arena library to write "unsafe" everywhere.