--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
With a fair benchmark, Node is 50% faster than Vert.x. By fair benchmark I mean: both using a single core and both caching the file (so both are now using the same logic).
https://gist.github.com/2652991
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
1) Pretty tight. The abstraction layer between v8 and node isn't thick enough or generalized enough, from what I can tell. To be fair, writing an abstraction layer between multiple JS engines is very difficult (I am doing such now for a different project, non-web related). JSC and v8, for instance, have *very* different ideas of how to do things. From what I understand, as well, SpiderMonkey has really limited support for passing arbitrary information (void *) in callback functions, which is part of the magic of v8.
2) Wondering what "runtime API" compatibility means. If it means "SpiderMonkey will have a similar class structure to v8, with a very similar callback pattern, then abstraction layers for node are possible and you could run it off SpiderMonkey. But looking at SpiderMonkey's API, thats doubtful. If it means "SpiderMonkey's JS environment will have a completely congruous API to the v8 JS environment", then that doesn't really make it easier to run node on SpiderMonkey, because a significant abstraction layer would need to be built and some re-organization done before it node's Buffer/Parser classes could work through the layer on both engines, both of which are pretty key to node. However, restructuring for SpiderMonkey would probably make building on top of JSC pretty easy, as its kind of "in the middle" between SM and v8.
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
> >
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
My take: node'sand vert.x's goals are different. Vert.x aims to make the async programming model available and convenient on the JVM, node's initial goal was to make it easy to develop network networked apps using http.
Node's target aren't highly scalable apps (like for example Google's search request handling),
it's something for building a remote control with a web interface for your AVR, automating testing for a web service, mocking out a web server for integration tests of a client application or similar tasks.
Vert.x wants to be serious competition for Akka and a serious alternative to servlet containers for developing network applications, allowing developers to build highly scalable apps, reachable over http but not necessarily tied to the http protocol, easy to deploy, take down, distribute, reconfigure and whatnot.
One is lightweight and focussed on ease of configuration, deployment and development, the other one is heavyweight and focussed on performance. You can't really compare the two unless you plan to use one of them in a context it's not intended for, IMO. I will for sure not give up on either of them, in spite of the performance differences.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.