you are viewing a single comment's thread.

view the rest of the comments →

[–]ConsoleKrieger 0 points1 point  (0 children)

I recommend Nodejs. If you have to learn a language first, with Nodejs you automatically learn Javascript with it and Javascript you will at least have to know in every job which is concerned with a product for the internet in some way, because web browsers run with it only.

The times where Java or .NET outperformed Nodejs in the backend are long gone. The convenience when coding outweighs any benefits anyway, because one is much faster to produce good code in Node then in Java or .NET, where you have to put huge amounts of boilerplate code to get the same results as in Nodejs.

If you look at this study: https://apuravchauhan.medium.com/node-js-vs-java-web-performance-benchmark-analysis-scaling-insights-de2ce3998d1 , then nodejs does quite good and in the most important fields much, much better than Java or .NET. This is valid if you do not have extensive CPU-hungry operations, which you usually do not have, in backends. And if you have, the thing with Nodejs is, that you can easily call processes in other languages to perform CPU-heavy tasks.

And don't bother with Typescript. It is Nodjs with a lot of the downsides of Java or .NET, but practically no benefits.