upvote
You're correct, but his point is that you don't need to solve the generic problem. Solving the generic problem is very hard. Grug doesn't like solving hard problem. What does grug do? Solve five easy problems. Make an arena for the short-lived objects, reuse the objects, use generic multithreaded malloc for the rest. Grug happy.
reply
Not everything needs to be general purpose. Allocation can be as easy as bumping a pointer, and it's hard to beat that.
reply