Re:Ocean Mobile Linux Server
by regularfry on Sunday April 24, 2016 @09:12AM
(#11559573)
Pretty much all general purpose languages let you do that. Only Node makes you.
PHP doesn't
Yeah OK :) HHVM is not the usual PHP runtime one expects to build the average web service upon.
Anyway, my point was that Node.js main core value was to let people script evented I/O over a lightweight runtime.
When Node came out, it was something new.
Sure. I just happen to agree with the notion that node.js is mostly unique only in that it pushes you down that path.
Java has a fairly rich NIO path that you can choose to take or not, and predates node.js. I believe the Tornado package for Python predates it as well.
Certainly, there's some advantage there...fewer surprises with 3rd party libraries that aren't non-blocking. But, there's downsides as well.
(Some other languages let you do that too)