News for hackers. Stuff that matters.
Re:Facebook makes HipHop for PHP open source by jwr on Tuesday February 02, 2010 @05:00PM (#1096293)
Languages aren't "fast" or "slow", it's programs that can be fast or slow.

If a higher-level language lets you implement a smarter algorithm, your program will run faster.

Re:Facebook makes HipHop for PHP open source by acangiano on Tuesday February 02, 2010 @06:51PM (#1096596)
> Languages aren't "fast" or "slow", it's programs that can be fast or slow.

We can say that "C++ is faster than PHP", because most, if not all, programs using the same algorithms will run faster when written in C++ and compiled to native code.

> If a higher-level language lets you implement a smarter algorithm, your program will run faster.

PHP is generally easier to master than C++, but both are high level enough to provide adequate tools to write efficient algorithms with comparable amount of effort, provided one is competent with the language at hand.