News for hackers. Stuff that matters.
Re:Joe Stump: Why I switched from PHP to Python by kingkongrevenge on Friday September 04, 2009 @10:18PM (#806076)
That's winning at the special olympics. They are both so slow you'd never use either for cpu constrained tasks.
Re:Joe Stump: Why I switched from PHP to Python by sandGorgon on Friday September 04, 2009 @11:07PM (#806126)
That is plain offensive. The special olympics are an even greater achievement of the human body as a machine, since it must push itself with far lesser degrees of freedom.
Re:Joe Stump: Why I switched from PHP to Python by pieceofpeace on Saturday September 05, 2009 @12:22AM (#806192)
As I saw, it was not meant to be offensive. Special olympics are for special people. They are not the best among all competitors. Most interpreted languages are not comparable to compiled languages.
Re:Joe Stump: Why I switched from PHP to Python by jrockway on Saturday September 05, 2009 @02:34PM (#806860)
Neither Perl nor Python are interpreted. They are both just slow.
Re:Joe Stump: Why I switched from PHP to Python by gaius on Saturday September 05, 2009 @03:37AM (#806317)
Why not? NumPy offloads all the heavy lifting to LAPACK and BLAS which is some of the most optimized code on the planet. Numeric work in Python is bread-and-butter for many people.
Re:Joe Stump: Why I switched from PHP to Python by jacquesm on Saturday September 05, 2009 @04:48AM (#806358)
Agreed. I have a bunch of pretty CPU intensive stuff written in C that was optimized as much as I could, given the time I had to write the code.

I re-wrote the same code using python on a lark to see how bad it would be, colour me very surprised when it actually beat the original code by a considerable margin!

Re:Joe Stump: Why I switched from PHP to Python by kingkongrevenge on Saturday September 05, 2009 @09:35AM (#806507)
Perl has all these same libraries and more. We were talking about code in the actual language.