Ask HN: Is Go the New Nodejs / JavaScript? Many of the recent top articles on HN are about Go. Has building apps in Go suddenly become fashionable like it was in node a few years ago? |
Ask HN: Is Go the New Nodejs / JavaScript? Many of the recent top articles on HN are about Go. Has building apps in Go suddenly become fashionable like it was in node a few years ago? |
Node:
- Great for keeping one language in both back-end and front-end (if you'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 "issues" that broke peoples builds for 1-2 days). - Is asynchronous by default. Making it a good choice for certain use cases.
Go:
- Great concurrency model - Small language spec, easy to learn and become productive with (this is my opinion) - Single binary build - Great standard library
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.
Node is also very popular (much more than Go).
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.
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.
After that, just pick a project or search for some existing code using https://golanglibs.com/search?q=orm here just replace the orm keyword with something your looking for.
Your likely to find something close to what you want 80% of the time. Just clone a project and start hacking away.
I've seen it in huge companies working with lots of data at high speeds.
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.
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.
Same articles were popular in 2012, but how they switched from Ruby to Node.