Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


+ - Facebook has HipHopped from PHP to C++->

Submitted by NicknamesAreStupid
NicknamesAreStupid (1040118) writes "Follow-up to darthcamaro's report of February 2nd (http://developers.slashdot.org/story/10/02/03/003249/Facebooks-HipHop-Also-a-PHP-Webserver). on Monday, I attended a MeetUp at CBS Interactive (a.k.a. CNET, http://www.sfphp.org/calendar/12902314/) where Facebook engineer Haiping Zhao gave a presentation on HipHop (http://wiki.github.com/facebook/hiphop-php/), an open source PHP to C++ translator that Facebook has used to convert most of its PHP to optimized and readable C++, compiled using g++. While not able to convert everything (e.g., eval(), dynamic variables & dynamic function calls), Haiping claims HipHop has done a great job at converting most of their code. Unlike the f8 presentation, Haiping indicated that, going forward, they are developing new projects in C++ on their own web server instead of PHP on Apache. The reasons for all this? Better performance and security? Cheaper programmers? You can see a HipHop presentation at the online f8 breakout session — http://apps.facebook.com/feightlive/sessions.php?_fb_fromhash=44a891994ffee45ec96812b622930d18. Is the move back to C++ a trend, or just a Facebook anomaly?"
Link to Original Source
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Facebook has HipHopped from PHP to C++

Comments Filter:

The Tao is like a glob pattern: used but never used up. It is like the extern void: filled with infinite possibilities.