Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by cube00

15 hours ago

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.

3 comments

cube00

Reply

amelius  7 hours ago

Can't use that approach for a GUI.

za3faran  3 hours ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities