News for hackers. Stuff that matters.
Re:Google's robots.txt by sebastianavina on Sunday February 23, 2014 @01:48AM (#7285173)
I really can't believe facebook is written in php...
Re:Google's robots.txt by pigDisgusting on Sunday February 23, 2014 @04:41AM (#7285410)
That's because it isn't. Or at least not in the traditional sense. It's not just some old bullshit, scripted in PHP, running on an array of scrappy LAMP boxen.

They run their PHP on HHVM for one:

https://en.m.wikipedia.org/wiki/HipHop_for_PHP

https://github.com/facebook/hhvm

...and yeah, it executes PHP code, for sure. But right there, things are already different, and the reality is that they've written a substantial code base in C/C++.

And, two, I'm sure they retain some serious business proprietary trade secrets about their server infrastructure, meaning that while the web front-end might render out HTML like a souped-up CDN, behind the scenes, there is a shit ton of other stuff going down.

Honestly, I think they just leave the file name extensions in the URL for the sake of nostalgia.

Re:Google's robots.txt by Killswitch on Sunday February 23, 2014 @12:50PM (#7286691)
HipHop is still PHP.

Also their frontend is the only thing written in PHP. You hit the site, you're hitting PHP pages.. Not just an extension for nostalgic reasons.