News for hackers. Stuff that matters.
Re:Get that job at Facebook (2012) by orangethirty on Sunday April 28, 2013 @10:00PM (#5623702)
Does facebook still use PHP?
Re:Get that job at Facebook (2012) by bbillings on Sunday April 28, 2013 @11:09PM (#5623871)
Yes, but no. Since moving to HipHip which is a translated/compiled version of PHP, we have been able to fork the language to clean it up. We have a strongly typed version, Generators, etc.

Syntactically it looks a lot like PHP and is backward compatible for many thing, but it's not really PHP anymore. The HipHop team has done a ton to make the language a lot more enjoyable to work in.

Re:Get that job at Facebook (2012) by orangethirty on Monday April 29, 2013 @01:21AM (#5624216)
I did not know you went to such extent. At that scale that makes sense. Do you plan to open source it?
Re:Get that job at Facebook (2012) by bbillings on Monday April 29, 2013 @01:42AM (#5624289)
https://www.youtube.com/watch?v=Dwek7dZDFN0 is a pretty good talk about everything coming down the pipe. Generics, Strict typing, Collections, etc.

Too my knowledge (I'm not directly on the Hip-Hop team) it will be open sourced, additionally we also generally present a PHP patch as well to allow it in future versions of standard PHP.

Re:Get that job at Facebook (2012) by davyjones on Sunday April 28, 2013 @10:15PM (#5623741)
They do (according to a post I saw on here a couple of months ago). But for people who don't know, they have an open source VM called HipHop (https://github.com/facebook/hiphop-php) that consumes the PHP.
Re:Get that job at Facebook (2012) by mcrittenden on Sunday April 28, 2013 @10:16PM (#5623746)
Yes, if the .php extensions on most of the URLs is any indication.
Re:Get that job at Facebook (2012) by rkuykendall-com on Sunday April 28, 2013 @11:20PM (#5623897)
Hm, I clicked all around the site and wasn't able to get a .php in any of my URLs. They were all "clean" or "pretty" URLs, as I would expect from a profesional, large web app. I wonder why we have different URLs.
Re:Get that job at Facebook (2012) by dyno12345 on Monday April 29, 2013 @12:14AM (#5624035)
Re:Get that job at Facebook (2012) by randartie on Monday April 29, 2013 @12:27AM (#5624086)
That's most likely just an endpoint named 'home.php' which now leads to some controller instead of actually loading a file called home.php
Re:Get that job at Facebook (2012) by rkuykendall-com on Tuesday April 30, 2013 @09:13AM (#5631930)
When I click "Home," I just get https://www.facebook.com/. I wonder why you get the php urls.
Re:Get that job at Facebook (2012) by nawitus on Monday April 29, 2013 @04:26AM (#5624766)
The redirect url for outgoing links has .php at the end.
Re:Get that job at Facebook (2012) by rkuykendall-com on Tuesday April 30, 2013 @09:14AM (#5631943)
Hm, I looked a lot of the links in my news feed and they were all direct.