logoalt Hacker News

Mawrtoday at 2:38 AM1 replyview on HN

> Rust can also do arena allocations,

Is there a language that can't?

The author isn't saying it's literally impossible to batch allocate, just that the default happy path of programming in Rust & Go tends to produce a lot of allocations. It's a take more nuanced than the binary possible vs impossible.


Replies

seanmcdirmidtoday at 2:42 AM

Pretty hard to do arena allocation in Java without JVM primitive support.

show 1 reply