Hacker News new | ask | show | jobs
by rezistik 4199 days ago
If you compare apples to apples I think the hype for NodeJS for most development is well deserved.

The fact that we are comparing static typed compiled languages like C and Java to NodeJS in order to find higher performance alternatives says a lot about it.

NodeJS isn't a replacement for those lower level languages, however when compared to other dynamic languages like PHP, Ruby, or Python it's suddenly far more competitive.

PHP is probably the main target in my opinion for Node. It's an incredibly popular language for nearly any web application use case.

http://blog.loadimpact.com/2013/02/01/node-js-vs-php-using-l...

The performance tends to favor Node over PHP. In fact, it favors NodeJS over a ton of languages in a lot of areas.

https://www.techempower.com/benchmarks/

These benchmarks really only place Java, Go and Lua above NodeJS in terms of performance.

Bundle in the ecosystem and developer productivity and it does earn the praise it received.

At the end of the day, the vast majority of developers will never need to optimize their applications past what NodeJS offers. Few of us will really deal with massive scaling issues on a day to day basis, nearly any modern language will handle the majority of applications. By the time performance is an issue it's probably time for a major refactor or rewrite building on the knowledge gained in the original version.