logoalt Hacker News

willtemperleyyesterday at 6:01 PM2 repliesview on HN

Isn’t a memory arena an application level issue? Like with Arrow I can memory map a file and expose a known range to an array as a buffer.


Replies

IncreasePostsyesterday at 6:06 PM

Sure, but I think the problem is there is an existing paradigm of libraries allocating their own memory. So you would need to pass allocators around all over the place to make it work. If there was a paradigm of libraries not doing allocations and requiring the caller to allocate this wouldn't be such an issue.

show 1 reply