4 ms·
You said > I think it should be preferred wherever it's an option for that reason most of all. And that’s far too broad in my opinion. Sure, if you’re writin
by simonask 13d ago
You said
> I think it should be preferred wherever it's an option for that reason most of all.
And that’s far too broad in my opinion.
Sure, if you’re writing in a language that makes memory management difficult, like C or Zig, that might be worth it, but arena allocators apply to many other languages too.
- deleted 11d ago[deleted]
- boomlinde 11d ago> You said Yes, which you didn't respond to until now. > And that’s far too broad in my opinion. Similarly, it's far too broad to say that it's "much less error prone" to use a more general allocation strategy. Clearly we both make unspoken assumptions, but in the context of this discussion on Zig, where you initially responded to an example written in Zig, I think you actually understood what I meant.