Hacker News new | ask | show | jobs
by aikah 3928 days ago
Well, it's a popularity contest. Lua is certainly a great language, it's fast and it works well with C. I guess that nginx team thinks that js will bring more users therefore more business. If I were to develop a product and add a scriptable layer, i'd certainly use JavaScript. Even if it is not the best language out there, it's about growing an ecosystem.
2 comments

Ecosystem isn't the only thing to think about, but I agree that is almost certainly why they chose js.
I'm willing to bet it won't bring them any new business. And in the long run, it will encourage their existing users to dump nginx and use Node.
If you think people will dump nginx for Node (which has totally different use cases) then I'm not sure how qualified the business estimation is...
Isn't Node more of an Application server though? I don't see Node replacing Nginx in the roles it's normally used for (serving static resources, reverse-proxy). I can't think of a single upside
Agreed... I don't want the effort and complexity it would take to offer a lot of what's pretty easy with nginx inside a node app. As much as I really like node, I think it's generally nginx in front of node to offset what it does better... I think people make applications complicated enough as it is...