Follow Slashdot stories on Twitter


Forgot your password?
Slashdot Deals: Deal of the Day - Pay What You Want for the Learn to Code Bundle, includes AngularJS, Python, HTML5, Ruby, and more. ×

Submission + - Facebook has HipHopped from PHP to C++ (

NicknamesAreStupid writes: Follow-up to darthcamaro's report of February 2nd ( on Monday, I attended a MeetUp at CBS Interactive (a.k.a. CNET, where Facebook engineer Haiping Zhao gave a presentation on HipHop (, 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 — 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:

We're here to give you a computer, not a religion. - attributed to Bob Pariseau, at the introduction of the Amiga