Answer the question
In order to leave comments, you need to log in
Can Golang be considered a replacement for Nodejs?
In terms of performance, Go is superior to Node, if you google, you can stumble upon some benchmarks on this issue. The threshold of entry into Go is faster, in my opinion, even though almost everyone is familiar with JS.
So, are there any arguments in favor of Go over Node for the web?
Answer the question
In order to leave comments, you need to log in
Node.js is essentially a set of JS-binding libraries using V8 as a virtual machine. And this is far from the first, but perhaps the most successful attempt to bring javascript to the server.
Golang is a statically typed compiled programming language for high performance applications.
Is Golang a replacement for Node.js - no. These are completely different technologies that cannot replace each other.
In addition to golang, you can take any other compiled programming language (for example, dlang, as the most pleasant of the alternatives in my personal opinion).
Replacement - no. They are different. But if we mean exactly rewriting the site from Node to Go, then it is more suitable than others. Their speed is almost the same (C overtakes them). Go does not contain callback hell and is very pleasant in syntax. For the web it fits better than other languages.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question