I wanted to know if NodeJS is still good option to write backend and for REST APIs. How does it stack up against GO? Are there any particular frameworks for high performance in Node.
Thanks!
That said I don't think Node would ever match Go on raw performance, even in its wheelhouse. It's all about tradeoffs.
Express is a solid choice imo due to the tremendous community support.
If you ever need to do anything that involves CPU crunching, you can move those requirements to another language that's better suited for it like Go.
If you already know JavaScript, just go with Node.js. If you end up with performance bottleneck (CPU bound operation), you can always write that in Go. Don't waste time upfront.
If you have none, this is probably a pre-optimization.
Pretty much every API will have a JavaScript library/documentation, which is a huge time saver.
So the question is Node.js good? Depends on your use case. Test yourself and decide yourself for your use case.
Why are you asking the HN community?