4 ms·
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 u
by aikah 11y 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.
- placeybordeaux 11y agoEcosystem isn't the only thing to think about, but I agree that is almost certainly why they chose js.
- romaniv 11y agoI'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.
- sangnoir 11y agoIsn'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
- tracker1 11y agoAgreed... 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...
- coldtea 11y agoIf 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...