Home > Features > Facebook's HipHop Boosts PHP • Bookmark   • Newsletters   • Register Search Options

FEATURE

Facebook's HipHop Boosts PHP

Facebook's HipHop Boosts PHP

April 14, 2010
Text size: 
Get XBIZ News
XBIZ Research
Will virtual reality boost the paysite market?
Yes, it will soon
  39.66%
Yes, but in a few years
  36.87%
No
  23.46%
Out of 179 votes. Results based on votes submitted by members of XBIZ.net social network.

" The project has had a tremendous impact on Facebook "

Mark Facebook as the latest entrant in the parade of large, mainstream companies releasing powerful, once-proprietary software systems for open source development, with its release of HipHop for PHP, a source code transformer that boosts PHP performance.

According to Facebook senior server engineer Haiping Zhao, HipHop, while not fully mature, has cut the social networking giant's CPU usage by half.

"The project has had a tremendous impact on Facebook," Zhao said. "We feel the web at large can benefit from HipHop, so we are releasing it as open source … in hope that it brings a new focus toward scaling large, complex [websites] with PHP."

Zhao says that HipHop is not a compiler, but a code transformer that reworks the PHP runtime, along with a rewrite of extensions to optimize performance.

"HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it," Zhao said. "HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance."

While PHP offers many developmental benefits, CPU efficiency and memory usage have always been issues.

"Because of this, it's been challenging to scale Facebook to over 400 billion PHP-based page views every month," Zhao said, noting that HipHop allows developers to enjoy the benefits of PHP along with the performance of C++.

You can learn more about what HipHop can do for your at the Facebook Developer's Blog.


PROFILES & BIOS

Evil Angel Chief Adam Grayson Champions Brand Evolution

Evil Angel is hardcore. More than a quarter-century after John Stagliano revolutionized adult filmmaking with his unique brand of gonzo titles and a lucrative director-as-producer business model, CFO Adam... More »

WIA Profile: Lupe Martinez

Each month, industry news media organization XBIZ spotlights the career accomplishments and outstanding contributions of Women in Adult. WIA profiles offer an intimate look at the professional lives of... More »

Jose Sanz Weaves a Profitable Tapestry at FreeWebCams

Navigating the complexities of customer service in the camming industry is a varied and oftentimes chaotic task, pulling even the most seasoned professionals in a multitude of directions. Fortunately for... More »
XBIZ NEWSLETTERS
Stay informed of the latest industry developments. Get XBIZ newsletters delivered to your inbox. Subscribe today!
Enter email address:

* To manage existing subscriptions click here.






POPULAR PRODUCTS & SERVICES
Submit your press release to
multiple news outlets with 1 click.
Subscribe to RSS news feeds or
add free content to your website.
Access XBIZ news and articles
with your mobile device.
Subscribe to XBIZ Premiere magazine, the industry's leading adult retail trade publications, delivering the most timely and comprehensive business news and information to producers and retailers of adult products.

UPCOMING EVENTS

Latin America Adult Business Expo

Jul 10 - Jul 12
Cartagena, Colombia

ANME Founders Show

Jul 16 - Jul 18
Los Angeles Marriott Burbank Airport

QWEBEC Expo

Aug 03 - Aug 06
Montreal, Quebec

XBIZ Berlin 2017

Sep 11 - Sep 14
Berlin, Germany
Everyday thousands of business professionals browse XBIZ's industry directory for quality products and services. Not listed yet? Your company could be losing potential new business. Submit your company today!
Use XBIZ RSS feeds to stay informed of the latest industry developments or as a content syndication tool for your website!