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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Go’s runtime C to Go rewrite, by the numbers

116 点作者 davecheney超过 10 年前

4 条评论

johan_larson超过 10 年前
Why Go?<p>I had a chance to do a bit of Go a year or so ago, and found the language very (how to put it?) bland. There just didn&#x27;t seem to be anything surprising or obviously better about it.<p>If the alternative is C++, I can understand the appeal of garbage collection and getting away from the complexities of the STL. But Java provides both. Anyone want to make the case for Go over Java?
评论 #8252681 未加载
评论 #8252516 未加载
评论 #8253181 未加载
评论 #8253376 未加载
评论 #8252667 未加载
评论 #8252578 未加载
评论 #8255052 未加载
评论 #8252945 未加载
silversmith超过 10 年前
What&#x27;s interesting is amount of C and Go code being so proportional - for every 100 lines of C code rewritten you seem to get 100 lines of Go.<p>It surprises me, because from what I&#x27;ve seen Go seems to be much higher level language. Or are those just all the `if err != nil` lines?
评论 #8252193 未加载
评论 #8251890 未加载
评论 #8252027 未加载
评论 #8252092 未加载
评论 #8252058 未加载
评论 #8251838 未加载
mholt超过 10 年前
Cool visualization. What causes the spikes? Code merges?
评论 #8251981 未加载
fulafel超过 10 年前
Spoiler: Flash plugin would let you see a timeline graph showing lines-of-C vs lines-of-Go in the go project.<p>(Strange that a Google Docs widget requires Flash...)
评论 #8252783 未加载