TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Go in Production

5 pointsby sippndippabout 10 years ago

1 comment

jgrahamcabout 10 years ago
<i>It is garbage collected so you don’t have to worry about memory issues.</i><p>This is a myth. Garbage collection changes what you worry about. For small, short-lived programs you don&#x27;t have to worry at all whether garbage collected or not (because you can just abandon the heap when you exit).<p>For long-running programs you either worry about freeing memory, or you worry about not making too much garbage. What you save with garbage collection is the problem of worrying about memory in programs that don&#x27;t need to use that much memory (i.e. you eliminate memory leaks). If a program uses a significant amount of memory over a period of time that garbage collected or not you worry about memory.
评论 #9157890 未加载