Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jstimpfle
6 days ago
|
parent
|
context
|
favorite
| on:
Love C, hate C: Web framework memory problems
No. Look up Arenas. In general group allocations to avoid making a mess.
rictic
5 days ago
|
next
[–]
If you send a task off to a work queue in another thread, and then do some local processing on it, you can't usually use a single Arena, unless the work queue itself is short lived.
reply
jenadine
5 days ago
|
prev
|
next
[–]
I don't see how arenas solve the problems.
reply
jstimpfle
5 days ago
|
parent
|
next
[–]
You group things from the same context together, so you can free everything in a single call.
reply
estimator7292
5 days ago
|
prev
[–]
No. Arenas are not a general case solution. Look it up
reply
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: