(no title)
thalesmello | 9 years ago
So what's the point in taking away the good part, and keep the cumbersome one? If you just want to program a Synchronous server in the JVM,just stick to Java.
thalesmello | 9 years ago
So what's the point in taking away the good part, and keep the cumbersome one? If you just want to program a Synchronous server in the JVM,just stick to Java.
_pmf_|9 years ago
And if you want to program an asynchronous server on the JVM in Java, all of the major and minor servers also support an asynchronous model (you merely lose the ability to program against the Servlet API, which pre-3 was bound to threads).
There's no reason at all to bring JS in for asynchronous behavior.
sourcesmith|9 years ago
cel1ne|9 years ago
You can run many different languages on it, all nicely contained within the virtual machine.
As far as I know Twitter replaced their Ruby/Rails with Code on top of the JVM for these reasons.
Also I don't think it's good to religiously stick to async/"just one thread" and sync/"one thread for everything". The most performant answer depends on the real world scenario and almost always lies somewhere in between.
boggydepot|9 years ago
my123|9 years ago
amelius|9 years ago
I don't agree. The power of Node comes from being able to run the same code on the browser and the server (without transpiling performance penalties).
unknown|9 years ago
[deleted]