logoalt Hacker News

chloriontoday at 12:23 AM1 replyview on HN

I'd like to know why I can't use arenas in rust? Especially considering that I have used them before in rust.


Replies

f311atoday at 2:14 AM

You can’t allocate collections without nightly or without reimplementing them in the library. Every implementation uses it’s own set of trade offs to provide safety in unsafe implementation.