Facebook and Hyper-PHP

By Deane Barker on January 14, 2010

Conversations About The Internet #5: Anonymous Facebook Employee : This is a wide-ranging interview with an anonymous Facebook employee, which is very interesting in itself, but particularly for this bit about their infrastructure.

Our site is coded, I’d say, 90% in PHP. All the front end — everything you see — is generated via a language called PHP. He is creating HPHP, Hyper-PHP, which means he’s literally rewriting the entire language. […] So this engineer is converting the site from one that runs on a scripted language to one that runs on a compiled language.

I couldn’t find any reference to Hyper-PHP anywhere, so I’m assuming it’s a Facebook-only thing.  Some pre-compiled derivation of PHP.

What Links Here


  1. I find the idea intriguing and although I have no hopes Facebook will make this public and open source, maybe someone will take the idea and start a new project.

  2. I think that she was talking about OO PHP. This would mean that FB was a procedural PHP and they wil rewrite it into object otiented approach. In other words, someone will do a code cleanup.

Comments are closed. If you have something you really want to say, tweet @gadgetopia.