Live data from Hacker News

.NET and Node.JS – Performance Comparison

salmanq.com

11–20 of 119 posts

Re: .NET and Node.JS – Performance Comparison

#11
post #4

The author notes about himself: > I work for Microsoft as a software engineer for Bing in Silicon Valley. My group specializes in building platform and experiences for consumers. ( http://www.salmanq.com/ )

Unless you can point to something incorrect or unfairly biased in that article - why does this matter?

Re: .NET and Node.JS – Performance Comparison

#13
post #4

The author notes about himself: > I work for Microsoft as a software engineer for Bing in Silicon Valley. My group specializes in building platform and experiences for consumers. ( http://www.salmanq.com/ )

Unless you can point to something incorrect or unfairly biased in that article - why does this matter?

Because .NET is Microsoft's baby? How is this not a huge conflict of interest? At the very least, he should put a disclaimer of that conflict somewhere in the article.

Re: .NET and Node.JS – Performance Comparison

#15
post #4

The author notes about himself: > I work for Microsoft as a software engineer for Bing in Silicon Valley. My group specializes in building platform and experiences for consumers. ( http://www.salmanq.com/ )

I know nothing about node but the last paragraph of the article reads like it came directly from Microsoft's marketing material. Shame, because it makes me doubt the rest of what was a very interesting comparison.

Re: .NET and Node.JS – Performance Comparison

#16
post #4

The author notes about himself: > I work for Microsoft as a software engineer for Bing in Silicon Valley. My group specializes in building platform and experiences for consumers. ( http://www.salmanq.com/ )

Unless you can point to something incorrect or unfairly biased in that article - why does this matter?

At minimum you should use or have an expert in Node.JS (etc) to make sure things are done efficiently or used in the manner that makes sense for the use case.

Re: .NET and Node.JS – Performance Comparison

#17
One main thing I found missing was the OS that the tests were run on. I am not even sure if Windows can be seen as intended OS for node.js. Was the comparison between .NET on Windows vs Node.js on Windows? That might not be fair on the node.js side.

PS: I am a .NET fan, so I want fair comparisons, if I were to use them :)

Re: .NET and Node.JS – Performance Comparison

#20
post #6
post #3

This is terrible. You are benchmarking node.js on exactly the thing everyone knows it is terrible at. Besides that yiur scenario is completely unrealistic and your google efforts Should have tipped you off. There are no results for sorting algorithms on node because nobody sorts on node.js. This is CS102.. Why would anyone ever sort more than 50 items on the server side of a web application. .net is faster than node…

I don't program in nodejs but this is wrong on so many levels. First an honest question: what exactly is it that nodejs is terrible at? Please define it. Now granted every tool has its strengths and weaknesses this benchmark shows a very large difference in operations that aren't uncommon in web servers. Sorting in memory should concern you, since caching happens in the memory. Again, I don't know the state of ORM te…

It wasn't wrong on many levels.

- For very obvious reasons, JS (or Python or Ruby) would be slower than Java, C# at number crunching.

- Node.js would handle concurrent connections better than most Asp.Net apps since the framework is non-blocking. Now you could write non-blocking code with .Net, but that isn't how most people write Asp.Net code. OTOH, with Node.js that's the only way you could write an app.

- I am impressed that Node.js actually performed this well in that benchmark. For a dynamic, hard-to-optimize language, being 2.5x slower than .Net (or Java) code is a fairly good result.

Post reply on HN