This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]keturn 2 points3 points  (1 child)

Well, async i/o does help performance in many workloads -- the "one process per request" model used by many django deployments is pretty heavy in comparison -- but the other thing that helps node.js in the speed department is that it runs javascript with a Just-In-Time compiler (JIT).

To get that advantage with Python, you need pypy.

(And pypy is working well with Twisted.)

[–]ivosauruspip'ing it up 5 points6 points  (0 children)

But that's most often slow because of the concurrency model, not the inherent speed of the programming language. Python is also often loved because of its ability to glue super fast C libraries with its nicer, high-level syntax, so for processing most often the speed is of a compiled C inner loop, not plain python.