By admin on February 4, 2010
The influence that Facebook is having on the enterprise now goes beyond making the corporate world a more Web-oriented place – its impact now goes deep into the code.
Facebook announced this week that it has rewritten the PHP runtime, translating it to C++ (a more machine-readable language) which is then compiled with g++. This is no small feat. Facebook engineer Haiping Zhao said that the rewrite significantly reduced the CPU usage on its Web servers by an average of about 50% depending on the page …
Posted in Programming | Tagged Facebook, hiphop, php, runtime
By admin on February 3, 2010
Last time some websites reported that Facebook was planning to release a JIT compiler for PHP, a huge step toward making the PHP runtime – and PHP-based sites and apps – faster by taking the interpreted language (a.k.a., more human-readable code) a few steps closer to the bare-metal ones and zeros machines actually read.
We’ve been updated that the PHP runtime has in fact been rewritten, with an extra step: The PHP is translated to C++ (a more machine-readable language) which is then compiled with g++. This project, called HipHop, has been in development under great secrecy at Facebook for the past couple years and has just this morning been open sourced …
Posted in Programming | Tagged Facebook, hiphop, php, runtime
By admin on April 10, 2009
Hyper text preprocessor (PHP) is a server side scripting language. Like others scripting languages this HTML embedded scripting language creates dynamic web pages.
One of highly useful language for web programmers to develop dynamically generated web pages fast, the language draws most of its syntax from Perl, Java and C with some unique features of its own …
Posted in Programming, Technology | Tagged basic php syntax, php, Programming, Technology
By admin on April 2, 2009
While Rasmus Lerdorf was creating PHP in 1995 for his personal usage to make his home page interactive yet programmatically simple, he would not have even thought of the world wide utility and hype it could invoke among the techies. Originally an abbreviation for Personal Home page, it was not until 1997 when two Israeli developers rectified the original version and called it by the name its known today- Hypertext Preprocessor. The result was enormous. It was more- friendlier and functional than before. PHP got more advanced and hi-tech when Zend Engine added to it. This add-on upgraded PHP in terms of security and bugs-safety …
Posted in Programming | Tagged php, Programming