logoalt Hacker News

cube00today at 2:49 AM3 repliesview on HN

I still prefer having deterministic control over when the free occurs.

For example, I can transmit the response to the client and then free the memory afterwards so they're not kept waiting.


Replies

ameliustoday at 10:28 AM

Can't use that approach for a GUI.

za3farantoday at 2:48 PM

What if you have many clients that are constantly coming in, when do you decide to free the memory after sending their respective responses?