[nodejs] node.js vs python tornado

231 views
Skip to first unread message

Carlos Carcamo

unread,
Aug 16, 2014, 11:27:29 PM8/16/14
to nod...@googlegroups.com
what do you think about node.js vs python tornado?, which would you
choose and why?
I know this list is for node.js but I wonder if you have tried with
tornado, if this is the case, what do you think about both
technologies?

--
"El desarrollo no es material es un estado de conciencia mental"

Matt

unread,
Aug 17, 2014, 4:16:55 PM8/17/14
to nod...@googlegroups.com
The big difference is that the entire Node.js ecosystem is built around async code. With Tornado if you use a library like an XML parser, which loads in external content via entities or xinclude, those will be loaded synchronously and block your event loop. Similarly for all kinds of other libraries in the Python ecosystem which have been designed around the assumption that everything is synchronous. I had exactly this problem when building async code in Perl, which suffers from the same assumptions.

Also the engine behind Node, V8, is significantly faster than the Python engine.


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CADpTsTY19ExdvM3ojF6dufWciWis40Z0Su%3D-MPTBQnTVdfLQkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Carlos Carcamo

unread,
Aug 18, 2014, 8:18:45 PM8/18/14
to nod...@googlegroups.com
Thanks for your comments, I had doubts about to choose node.js instead tornado.
I like python syntax but for the nature of my project I will choose node.js.
> https://groups.google.com/d/msgid/nodejs/CAPJ5V2a_yL%3Divo0TwZG%3Dx383_Fdg1Y09oRJ%2B73is2rNNcDE81Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages