DEV Community

Discussion on: Is C# worth learning in 2019?

Collapse
 
mustapha profile image
Mustapha Aouas • Edited

It's BLAZINGLY fast
And I mean FAST, it still outperforms Java, NodeJS and most of the competition

Do you have some benchmarks between C# (asp) and node.js ?

Collapse
 
dayvster profile image
Dayvster 🌊

No, nor should you worry too much about benchmarks between languages/platforms/frameworks and so on.

They are one of many matrics.

I cover this exact thing in my other post: dev.to/arctekdev/the-contenders-202d

Where I discuss how small percentage differences in resource usage usually do not matter when you are developing out in the real world, because no developer always writes perfect code in a perfect way. And even if they do that developer would be a lot more expensive per year than simply buying a new server.

Collapse
 
mustapha profile image
Mustapha Aouas

I'm just trying to find what makes you say that it outperforms Node?

Thread Thread
 
dayvster profile image
Dayvster 🌊 • Edited

You are not listening, focusing on benchmarks and it's minimal performance differences is not a good idea as it's an unimportant metric in most cases.

But if you wish: ageofascent.com/2019/02/04/asp-net...

techempower.com/benchmarks/#sectio...

This one is a year old and I'll go out on a limb and assume not too much has changed in a single year.

As you can clearly see .NET outperforms NodeJS in most categories.

Not a surprising result to be perfectly fair.

Thread Thread
 
mustapha profile image
Mustapha Aouas • Edited

Stop being condescending please. I don't care that much about benchmarks but I'm looking for the proof behind what you said:

It's BLAZINGLY fast
And I mean FAST, it still outperforms Java, NodeJS and most of the competition

Btw, are we not seeing the same result or something? because it seems that it's quite the contrary, we clearly see that node outperforms aspnet on must of the benchmarks, here's one (of many) as an example:

node outperforming aspnet

Multiple queries benchmark (higher is better)
Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
sketchydev profile image
Shane Booth • Edited

If we take Round 18 from TechEmpower and adjust the filters to add aspnetcore we get some different results which are very much in favour of aspnetcore

Thread Thread
 
dayvster profile image
Dayvster 🌊

Shane Booth I'd recommend not feeding the troll much more, he appears to be a bad faith actor.

Thread Thread
 
sketchydev profile image
Shane Booth

Agreed - i'll leave it there :)

Thread Thread
 
mustapha profile image
Mustapha Aouas • Edited

I politely asked you to give some proof, how does that make me a troll ?

And how am i of bad faith since i used the link that you gave me?

Thread Thread
 
mateiadrielrafael profile image
Matei Adriel

Im pretty sure i saw some version of nodejs running on the jvm which outperformed c# in all categories but i cant find the link rn (when ill do ill post it here)

Thread Thread
 
algonzalez profile image
Al Gonzalez

What is faster is ASP.NET Core with Kestrel. Open the filters and enable "Kestrel" in the "Front-end server" section and then make sure "asp.net core" is enabled in the "Framework" section. Make sure to click on the "Apply changes" button.

Collapse
 
sketchydev profile image
Shane Booth

skylinetechnologies.com/Blog/Skyli... I'm struggling to find a more recent benchmark on nodejs vs net core, though.

Collapse
 
dayvster profile image
Dayvster 🌊

I suppose I could try running some when I get home, that is if I don't have too busy of a day at the office.

Basically saying no promises but I'll try and keep it in mind.

Thread Thread
 
nospower profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Jon Knowles

I normally never reply to any posts online, but wanted to say thanks for this article. To the troll: if you don't agree with the post, read something else, or watch some porn and you'll feel much better

Collapse
 
mateiadrielrafael profile image
Matei Adriel

Well, nodejs isnt that great for heavu computations, but its awesome when talking about a lot of concurrent requests

Thread Thread
 
sketchydev profile image
Shane Booth

NodeJS is good for multiple requests, no doubt about it, the benchmarks on TechEmpower(which are linked to in other comments)do suggest that netcore is more performant however. But then again, performance alone shouldn't be the deciding factor on choosing a tech stack.