4 ms·
Lightweight threads? Nodejs doesnt use them. There is only a process and a handful of threads which are basically workers. And I don't buy that the only point
by emilsedgh 10y ago
Lightweight threads? Nodejs doesnt use them. There is only a process and a handful of threads which are basically workers.
And I don't buy that the only point of nodejs is that _that it let people who know JavaScript write server-side code with reasonable performance and scalability_.
Writing nodejs code is a complete different beast from frontend javascript. I actually think writing nodejs is much harder to understand and code than eg Golang or Java.
For me, personally, the point of Nodejs is neither performance nor the fact that its _async_.
Nodejs has a really good balance of performance, tooling, ecosystem and scalability.
Of course I could be wrong.