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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Is Go the New Nodejs / JavaScript?

6 点作者 nikhildaga大约 9 年前
Many of the recent top articles on HN are about Go.<p>Has building apps in Go suddenly become fashionable like it was in node a few years ago?

6 条评论

sargas大约 9 年前
They can compete in the back-end space, but they are good at different things.<p>Node:<p>- Great for keeping one language in both back-end and front-end (if you&#x27;re making a web app). - Has package managers that are battle proof, like npm (which is taking a lot of heat recently due to politics and implementation &quot;issues&quot; that broke peoples builds for 1-2 days). - Is asynchronous by default. Making it a good choice for certain use cases.<p>Go:<p>- Great concurrency model - Small language spec, easy to learn and become productive with (this is my opinion) - Single binary build - Great standard library<p>The fact that Go is getting lots of references in HN might be that it is simply picking up attention, which is normal for any good technology.<p>Node is also very popular (much more than Go).<p>Anyways, choosing one over the other seems to be more of a choice on which language you prefer to write in. Unless your use case rules out one of the two.
tmaly大约 9 年前
JavaScript is going to be the leader for a long time. It dominates the client side.<p>I have noticed a ton of articles on Go. If you are interested on trying Go for a project, I would suggest first doing the Tour of Go then reading Effective Go.<p>After that, just pick a project or search for some existing code using <a href="https:&#x2F;&#x2F;golanglibs.com&#x2F;search?q=orm" rel="nofollow">https:&#x2F;&#x2F;golanglibs.com&#x2F;search?q=orm</a> here just replace the orm keyword with something your looking for.<p>Your likely to find something close to what you want 80% of the time. Just clone a project and start hacking away.
makufiru大约 9 年前
Go is more likely to replace Java as high throughput&#x2F;low latency server technology.<p>I&#x27;ve seen it in huge companies working with lots of data at high speeds.<p>Javascript sees a lot of use in small shops where devs only want to learn a few languages, or for fullstack devs who work on both ends of the stack.<p>You see it a lot in HN because javascript is getting pretty saturated - people are already doing EVERYTHING in it. Go on the other hand is just breaking into a few key areas, and is a lot younger, and I would even go as far as to say more exciting.
cblock811大约 9 年前
I wouldn&#x27;t put that much weight something showing up on HN a often. Haskel shows up fairly often and it&#x27;s not close to taking on Node or JS. Will be interesting to watch though.
romanovcode大约 9 年前
Yes. We start to see a pattern of articles mentioning how folks switch from Node to Go and how wonderful it is.<p>Same articles were popular in 2012, but how they switched from Ruby to Node.
timmm大约 9 年前
No, not even close.