TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Go in Production

5 点作者 sippndipp大约 10 年前

1 comment

jgrahamc大约 10 年前
<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 未加载