DEV Community

Cover image for Node vs Go: Which one to choose for Backend development in 2022?

Node vs Go: Which one to choose for Backend development in 2022?

Harshal Suthar on July 29, 2022

What is Node? Node is an eminent JavaScript runtime environment that is often mistaken for a programming language. Node is used to creat...
Collapse
 
ankush981 profile image
Ankush Thakur

In my opinion, Node + TypeScript is so much mental baggage that you're better off using Go. HOWEVER, one shouldn't be blind to market realities. As such, we can "prefer" a technology stack, but we certainly don't get to "choose" one.

Collapse
 
eljayadobe profile image
Eljay-Adobe

"It possesses the speed of Python and the benefits of C."

lol

Collapse
 
leob profile image
leob

Yeah that should be kinda the other way around, lol ;)

Collapse
 
eljayadobe profile image
Eljay-Adobe

Reminds me of a quip I thought was funny...

Java elegantly combines all the disadvantages of a compiled programming language like C++, with all the disadvantages of a scripting language like Python, and none of the advantages of either.

(Note: I like Java. I like Python. I have a love-hate relationship with C++. For those who are Java fans, substitute C# for Java.)

Thread Thread
 
leob profile image
leob

I vaguely remember having heard that one before as well haha :)

Collapse
 
ifourtechnolab profile image
Harshal Suthar

I appreciate everyone's thoughts and opinions on the matter. However, as discussed above every language being great in their strengths, also have some weaknesses. This blog just provided a high-level overview of Node vs. GO. Finally, everyone has to choose the finest language that meets their company needs and offers value to their time investment.

Thank you for taking time to read our blog.

Collapse
 
leob profile image
leob

This article kinda obscures the fact that Go really runs rings around Node when it comes to performance (talking about highly scalable network apps) ...

Collapse
 
fish1 profile image
Jacob Enders

Node is not high performance. It's pretty slow compared to other solutions.

Haven't tried python though....

Collapse
 
leob profile image
leob

Read stories about companies running high scalability networking apps (think REST APIs and sockets and all that), and after converting their codebase from Node to Go they ended up needing one fifth or one tenth of the hardware to run it ...

Collapse
 
revenity profile image
Revenity

Now faster with uWebSockets.js.
web-frameworks-benchmark.netlify.a...

Collapse
 
moutasim profile image
Moutasim EL Ayoubi

Me who is studying java (Done with basics and advanced topics) to learn backend development with spring and spring boot

Image description

Collapse
 
eshimischi profile image
eshimischi • Edited

There is Rust also, way faster than both of node and go all together. Deno, for instance, developed using Rust..

Collapse
 
ankush981 profile image
Ankush Thakur

🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️

Collapse
 
theharshrastogi profile image
Harsh Rastogi

Yes, It's really tough compared to node and go.

Collapse
 
andrewbaisden profile image
Andrew Baisden

One day I want to give Go a try.

Collapse
 
codewander profile image
codewander

Elixir + test suite