Answer the question
In order to leave comments, you need to log in
Why are not all servers written in Node js?
There is NodeJS.
But if it exists, everything is possible on it, and in addition it thinks faster than Java, then why are there other server side solutions in the world of web development?
Traditions, habits and the need to support existing projects do not count. I'm wondering why new projects are not always written in Node js?
Answer the question
In order to leave comments, you need to log in
1. Because it is not suitable for all tasks What can be written in Node.js?
2. Because JavaScript is not for everyone, people are so attached to the syntax
1. Node.js has no fundamental qualitative advantages over other languages, as well as disadvantages. Just yet another language with its own idiosyncrasies. Accordingly, if in the question we replace node.js with php/ruby/python, etc., nothing will change.
The question is essentially abstract "why didn't everyone switch to the language %%%%%"
2. Answer to the abstract question:
a) Because there is a huge amount of legacy code that needs to be supported. The work on maintaining and developing the existing code is an order of magnitude more than writing a new one from scratch
b) Because the developers have their own stack of favorite technologies, which the majority are not ready to change without obvious economic reasons
c) Because smart technical managers choose a project's technology stack based on the developers at hand and the ease of finding and replacing them.
hbrmdc
NodeJS has unique and very powerful advantages that no other language has. For example, the fact that this is JS, and, therefore, there is no need to learn extra languages - you can write the entire webapp in js.
Personal preference based on habits is an irrelevant argument in this matter.
There is an assembler.
But if it exists, everything is possible on it, and in addition it thinks faster than the same C ++, then why are there other solutions in the world of software development?
Traditions, habits and the need to support existing projects do not count. I wonder why new projects are not always written in assembler?
The language is "an amateur", to say the least, the platform is crude, there are few libraries, there are no full-fledged frameworks, the performance is low. Writing asynchronous noodles in js is a dubious pleasure, there are no special tools that support asynchrony in the language. The only advantage of the node is that it is good to collect statics on it - all sorts of grants, galps, but this is more for layout designers than for developers. On the contrary, I don’t understand the motivation of people who write web projects on the node. The node is suitable only for writing intermediate links between the backend and the frontend, which does not really give anything and does not have complex logic, but only makes a few requests to the backend and issues them to the front. And even then I would prefer another solution.
Node.js creator : "For servers, I can't imagine a language other than Go"
node.js is like PHP, only for servers, also one architecture for everything.
There is NodeJS.
IMHO wherever nodejs is good, erlang will do even better and has a richer background.
for everything else there is golang, ruby, php, python, java etc
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question