Re:Vert.x – JVM Polyglot Alternative to Node.js
by ricardobeat on Friday May 04, 2012 @05:34PM
(#3930445)
Node is nearing 10k published libraries. Is there a comprehensive site listing Java libraries?
It's trivial to offload blocking operations to other processes in node too, it's just not the preferred option.
Node is nearing 10k published libraries.
And ruby has 38237 gems. 99,9% of which are garbage.
Library-count is a terrible metric.
Re:Vert.x – JVM Polyglot Alternative to Node.js
by juiceandjuice on Friday May 04, 2012 @06:36PM
(#3930639)
Have you ever programmed in Java? That's a strange question to ask if you have.
Whatever libraries node has is a drop in the bucket compared to java.
Re:Vert.x – JVM Polyglot Alternative to Node.js
by ricardobeat on Saturday May 05, 2012 @09:55PM
(#3933888)
I haven't, thats why I asked. Node is just 2 years old. You'll get 90% of garbage on any open package manager.
So what?
You get tons of Java libs to use, a majority of blocking ones and lots of non blocking on one hand, or you restrict yourself to the fewer non-blocking libs of varying quality available for Node.
With Java you can also turn blocking libs to non blocking with a wrapper and threads, whereas with Node.js if it's blocking you're screwing, because the js engine is single-threaded.