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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Weak pointers in Go: why they matter now

78 点作者 valyala6 个月前

6 条评论

lolive6 个月前
Is that WeakReference in Java?
评论 #42349863 未加载
评论 #42349541 未加载
njtransit6 个月前
The article doesn’t actually explain how they work… How does the indirect pointer get set to nil? Does it use runtime.SetFinalizer?
评论 #42349448 未加载
stevugnin6 个月前
How to shoot yourself in the foot
评论 #42349586 未加载
评论 #42349195 未加载
评论 #42349460 未加载
Attummm6 个月前
Great in-depth article, unveiling a lower level of Golang previously unknown to me.
welder6 个月前
Also have to watch out for nil pointer dereferencing:<p><a href="https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;48-go-desperately-needs-nil-safe-types" rel="nofollow">https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;48-go-desperately-needs-nil-safe-t...</a>
binary1326 个月前
People imagining that “adding the missing features” is what Go needs should be paddled.
评论 #42349738 未加载