News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DZone.com:
Java PHP Python -- Which is "Faster In General"?
January 07, 2011 @ 12:17:55

On the Java DZone.com section today there's a "which is faster" post comparing PHP, Java and Python. No, it's not quite what you're expecting - I'd suggest reading on.

Sigh. What a difficult question. There are numerous incarnations on StackOverflow. All nearly unanswerable. The worst part is questions where they add the "in general" qualifier. Which is "faster in general" is essentially impossible to answer. And yet, the question persists. There are three rules for figuring out which is faster. And there are three significant problems that make these rules inescapable.

His three rules are:

  • Languages don't have speeds. Implementations have speeds.
  • Statistics Aren't a Panacea.
  • Benchmarking Is Hard.

He seems to hit most of the issues with these sort of "faster" posts up front and notes that, while benchmarks can be run on a lot of different aspects about the languages, the results depend on how you slice it. His suggestion is, instead, to not try to compare the languages in a grand sense. Take each of them and compare them on specific tasks and let those results stand alone. Each of the three languages is going to be better at something than the other two.

0 comments voice your opinion now!
benchmarking python java faster implementation


blog comments powered by Disqus

Similar Posts

PHPImpact Blog: BBC's New Infrastructure: Java and PHP

Zend Developer Zone: Zend Studio 5.5 Walkthrough

Alexey Zakhlestin\'s Blog: FastCGI in PHP - The way it could be.

Chris Hartjes: Standards, Soapboxes, and Shamans

Zend Developer Zone: PHP Abstract Podcast Episode 9: PHP-Java Bridge


Community Events











Don't see your event here?
Let us know!


release hhvm series opinion hack component introduction symfony2 facebook database language framework composer security package podcast performance application install unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework