News for hackers. Stuff that matters.
Re:Hobby Project: A dynamic C (Hot reloading) module-based W... by williamcotton on Sunday November 17, 2024 @04:34PM (#42167520)
> The ROI on manually managing memory just isn't there for a typical web application.

You can use a per-request memory arena built with a simple bump allocator and then free the entire block when the request has been handled.

Re:Hobby Project: A dynamic C (Hot reloading) module-based W... by kaba0 on Monday November 18, 2024 @05:54AM (#42171326)
Still, why would I want to write C?

Then use a script language with similar memory semantics, PHP started out exactly that way, if I'm not mistaken.