Re:Facebook rewrites PHP runtime, will open source on Tuesday
by pvg on Monday February 01, 2010 @08:18PM
(#1093994)
The argument being made was that the PHP runtime is 4-5 times slower than Python and that PHP only looks as fast as it does because of the C libraries. This is simply untrue and the OP wasn't able to back it up. Cores don't come into it.
[ Parent
| on HN ]
Re:Facebook rewrites PHP runtime, will open source on Tuesday
by igouy on Tuesday February 02, 2010 @12:27PM
(#1095419)
The Python mandelbrot program uses 4 cores the PHP mandelbrot program uses 1 - that's why Python seems so much faster on mandelbrot.
The Python spectral-norm program uses 4 cores the PHP spectral-norm program uses 1 - that's why Python seems so much faster on spectral-norm.
The Python binary-trees program uses 4 cores the PHP binary-trees program uses 1 - that's why Python seems so much faster on binary-trees.