News for hackers. Stuff that matters.
Re:Interview with Facebook's Andrei Alexandrescu by j_col on Monday January 30, 2012 @04:22AM (#3528027)
I find it sad that he is asked to defend Facebook's decision to continue to use PHP. Given that Facebook is probably the largest website in the World now, the real question should be why other sites are not copying their software stack choices?

* edited for grammar.

Re:Interview with Facebook's Andrei Alexandrescu by andralex on Monday January 30, 2012 @08:40AM (#3528703)
I wasn't asked me to defend anything. Let's not forget that back in 2004 many alternatives that are fairly robust today were not as functional as PHP was.
Re:Interview with Facebook's Andrei Alexandrescu by j_col on Monday January 30, 2012 @08:57AM (#3528763)
I was referring to this exchange from the article:

Q: "4. What do you think of PHP as a language from your perspective, regarding that Facebook was initially written in PHP then transformed to C++ using HipHop for PHP. What are the pros and cons of using C++ over PHP at Facebook?"

A: "I was afraid you were going to ask that :o"

Sounds like being asked to defend your decision to use PHP to me, unless I'm reading it wrong.

Re:Interview with Facebook's Andrei Alexandrescu by andralex on Tuesday January 31, 2012 @03:35AM (#3532397)
Oh, I see. The attempt at a joke there was that I felt awkward to talk trash about a language as a proponent of another.
Re:Interview with Facebook's Andrei Alexandrescu by sausagefeet on Monday January 30, 2012 @07:31AM (#3528477)
Given all the work they do to get around PHP it seems more like an "in spite of" not "because of" situation.
Re:Interview with Facebook's Andrei Alexandrescu by Jare on Monday January 30, 2012 @08:54AM (#3528752)
If you look at all the value that Facebook (and many other companies) have derived from working with PHP, it's definitely a "because of PHP's strengths" and "in spite of PHP's problems".

No technology is perfect, but imperfect technology that lets you Get Stuff Done(tm) goes a long way.

Re:Interview with Facebook's Andrei Alexandrescu by sausagefeet on Wednesday February 01, 2012 @02:48PM (#3539568)
What strengths of PHP are you referring to here? TCB (Taking Care of Business) seems to be a programmer trait. Considering they have written their own implementation of PHP it seems like PHP didn't offer them much other than then original authors knew how to write it. I could be talking about any language in that case.
Re:Interview with Facebook's Andrei Alexandrescu by ovi256 on Monday January 30, 2012 @07:57AM (#3528553)
Yeah, but I think most of their work "around PHP" is more like "distributing computation to a larger scale than before". So the language doesn't matter that much, they've hit and overcame many fundamental problems that no other stack would have solved for them.
Re:Interview with Facebook's Andrei Alexandrescu by fauigerzigerk on Monday January 30, 2012 @09:10AM (#3528817)
The only thing mentioned in the interview is HipHop, which has nothing to do with distributed computing. PHP is slow and they're trying to make it faster because moving to a different platform would be too disruptive. That's how I'm reading it, but maybe you have more information.
Re:Interview with Facebook's Andrei Alexandrescu by ovi256 on Monday January 30, 2012 @10:31AM (#3529123)
Facebook has released a bunch of distributed computing stuff, including a database (Hive), distributed logging and monitoring system. And that's just the part that's been open sourced.
Re:Interview with Facebook's Andrei Alexandrescu by fauigerzigerk on Monday January 30, 2012 @03:26PM (#3530507)
Of course they do lots of other stuff, like Hive, that is completely unrelated to PHP. I never doubted that. But Alexandrescu was talking about PHP as a language and as a runtime. All the PHP specific things they do seem to be about fixing things that they wouldn't have to fix if they had chosen a different platform like Java or SBCL common lisp or Haskell or C#.
Re:Interview with Facebook's Andrei Alexandrescu by sausagefeet on Wednesday February 01, 2012 @02:44PM (#3539551)
Your text is grey for me which I think means you're being down voted, I'm not sure why your points seem valid to me.
Re:Interview with Facebook's Andrei Alexandrescu by fauigerzigerk on Thursday February 02, 2012 @02:39AM (#3541850)
Nobody seems to really understand what votes are supposed to express in a debate. We do have words after all. But as long as there is no exchange rate for converting karma into dollars I remain unfazed ;-) Thanks for your support anyway.
Re:Interview with Facebook's Andrei Alexandrescu by gbog on Monday January 30, 2012 @08:23AM (#3528644)
Wait no more, many big Chinese copycats use php.