Answer the question
In order to leave comments, you need to log in
Is the new asp.net core 1.0 really 8x faster than Node.js?
According to the link https://www.microsoft.com/net/core/platform they say that asp has become 8 times faster than a node, is that true? Has anyone worked on the new asp, what can you say?
Answer the question
In order to leave comments, you need to log in
Firstly, such statements are usually made for PR, and synthetic tests are offered as evidence, which are far from real applications.
Secondly, different compilers, of course, can optimize your code in different ways, someone does it better, someone worse, but still, to a greater extent, performance depends directly on the code, the same task can be solved on the same language and compiler version, but in different ways and get a performance difference by several times (I personally have accelerated the server side of socket.io by 6-8 times without losing functionality).
And finally, thirdly, do not look for a silver bullet, write on what you know best
Well, there they have a link to the github with tests. Apparently so it is. But speed is not the main thing in programming. If only speed was important, then everyone would program in C or even in assembler.
They could find cases in which faster. That's all. Maybe these cases cover most of it, maybe not. It is quite possible that the experts wrote on .NET, and not on the node.
I remember the conference.
The speaker compared the speed of the same algorithm on node.js and c++. It turned out to be 5 times slower in JS (which is logical in principle). Then he performed code optimization not related to the operation of the algorithm - it reached a value of 1.5 times.
The final chord, "the problem is naturally in the algorithm, I have a different algorithm" and lo and behold, the js code was executed in the same time as in c++ an hour earlier. PROFIT!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question