Comments (34)

My machine is Core I3, 8GB of RAM, SSD of course :)
It took 7 - 8 seconds with Python and 0.02 - 0.12 with Node.js
But the most interesting thing is when I change 100 mils to 1 bil, Python consumed the whole memory and then printed "Killed" after about 1 minute, while Node.js returned the result within only 0.853 sec!

Yes, the Python performance is standing out, isn't it. I heard it has that reputation, i.e. that one shouldn't use it if performance is a big requirement.

Glad to see Node doing so well.

I'm awed at Go, though. I feel its got a lot of momentum these days but I hesitate to spend much time on it and will want to wait and see how the ecosystem is developing. Performance isn't everything ;)

Hello everyone! I made an article were I compare Python vs PHP vs Java vs Ruby vs C#. Can you check it and say your opinion about it? (This is not a purely technical material, but more generalizing for beginners) cleveroad.com/blog/python-vs-other-programm..

Woah... I just found this and it blows my mind. I thought Python, especially being a language that Google's been hiring for, was the bees knees. Now, I'm glad I never touched it seriously.

And, even crazier is that PHP is given such a slap by people, but it pretty much is just as speedy as Ruby. I'm now wondering if Ruby is a better language to write than PHP, or if it's got similar issues programmers complain about with PHP.

Node is all fine and dandy, however, Go seems much more grounded since it seems to offer way more scalability with much less of a tendency to become a "hot mess".

php always has been faster than ruby since php 5.2 to my knowledge. It's just a different language design.

python is not optimized for those operations and the question is the second run and if it's using pypy jit .....

still the benchmark is 1 of n hence irrelevant.

Go gets slow with the GC this is whole operation is on the stack .... I cannot begin to express how annoyed I am with such shots from the hip benchmarks, which don't take into account the language design.

And give up certain impressions but where is for example the memory footprint .... anyhow I getting am old ....