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

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
PHP

Submission + - Facebook has HipHopped from PHP to C++ (github.com)

NicknamesAreStupid 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?
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 Avis WIZARD decides if you get to drive a car. Your head won't touch the pillow of a Sheraton unless their computer says it's okay." -- Arthur Miller

Working...