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.

Is Go better than Node.js?

15 pointsby betadreamerabout 11 years ago
I have backend experience in Python (Django &#x2F; Flask) and willing to try a new language and framework for my next project. I know its a stupid question to ask between 2 completely different language but I am lost.<p>It seems like the more I google there are more people who supports Go more than Node for mainly these reasons: simplicity and no callback mess.<p>Just to let you know I read these links: http:&#x2F;&#x2F;www.quora.com&#x2F;Node-js&#x2F;Why-did-Koding-switch-from-Node-js-to-Go http:&#x2F;&#x2F;jordanorelli.com&#x2F;post&#x2F;31533769172&#x2F;why-i-went-from-python-to-go-and-not-node-js<p>I understand that every language have their own usage so here are my condition. 1) I&#x27;m willing to use async to solve the callback nightmare in node. 2) Frontend is iOS so no advantage of having a same language in JS.<p>What&#x27;s your 2 cents?

5 comments

carterschonwaldabout 11 years ago
If you have experience with python, Go or Haskell will be a much better &quot;new tool to learn&quot;. Of the two, Go will be a more comfortable jump, but either tool will help you engineer in fun new ways that have no callbacks :)<p>Both have great optimizing compilers, vibrant friendly communities, and can build static linked binaries that are easy to deploy in whatever your target environment is.<p>If you want something you can get comfy hacking in next week, I&#x27;d say go with Go, but if you are looking for &quot;what can I build amazing things with a year from now after getting comfy with&quot;, I&#x27;d push for Haskell.<p>NB: I&#x27;m a very active member of the Haskell community at this point, so I&#x27;m a bit biased. I will be the first to say Haskell and its tools aren&#x27;t perfect, but I and others work hard every week to make them ever more awesomer. (I also spend a lot of time helping get people started contributing to core haskell tools). Also I&#x27;ve a wee business i&#x27;m building using Haskell as my stack :)
评论 #7505542 未加载
apiabout 11 years ago
The Go language certainly is, but with Node I can do things like &quot;npm install passport-google&quot; and have OAuth in 5 minutes. The Node ecosystem is full of incredibly useful components for getting up and running quickly.<p>Unfortunately computer language quality seems slightly inversely correlated with the vitality of its ecosystem.
评论 #7505249 未加载
dopplesoldnerabout 11 years ago
I have learned Node.js from scratch over the last 6 months or so (I was introduced to it by the Startup Engineering MOOC on coursera). Before that my experience was with backend languages - C++, C#, python.<p>Initially it was a steep learning curve and coming from a &quot;synchronous&quot; way of writing code, I managed to get myself in all sorts of mess. But with time as I have become more comfortable, discovered new patterns (async, promises) I can say I am liking node.js more and more.<p>Also, the ability to code in a single language for your entire stack (Angular, node, mongo) is not to be overlooked for productivity gains.<p>So far I haven&#x27;t really gotten the change to try Go but if your fears are just regarding the async patterns in node.js, I can assure that its NOT that bad and in return it makes you a better programmer.
CyberFonicabout 11 years ago
With Python experience, you might find Go a bit closer to what you are used to. However, if you do any appreciable amount of browser-side JS, then Node.js might also be comfortable.<p>Personally, I would evaluate what frameworks, etc you need for a new project and then choose the language that better supports the project. Keeping in mind, that Google don&#x27;t use Go for all their systems, only where it provides advantages over the alternatives.
评论 #7506514 未加载
filipedeschampsabout 11 years ago
I suggest you to read all comments on the link you pointed at Quora.
评论 #7505544 未加载