News for hackers. Stuff that matters.
Re:Python or PHP? by cptskippy on Friday September 23, 2011 @04:13PM (#3031423)
>it would be better to compare the programs forced onto one core

How is that fair? Python has true multi process capabilities where PHP does not. You can run Django and other web frameworks in multi process modes that would spread load out better utilizing system resources. This isn't true of PHP, from what limited knowledge I have.

While they're comparable under a single process, PHP does not scale nearly as well as Python does.

Re:Python or PHP? by xd on Sunday September 25, 2011 @07:56AM (#3035651)
I don't understand why you felt the need to comment when you say yourself "from what limited knowledge I have".

PHP and Python both have "true multi process capabilities". It's called forking. I think you are confusing forking with threading.

Re:Python or PHP? by igouy on Saturday September 24, 2011 @11:30AM (#3033431)
> How is that fair?

What's not fair, is that I seem to have forgotten to investigate why pcntl_fork() stopped working.

> PHP does not scale nearly as well as Python does

Please share your measurements.