5 ms·
Interview with Facebook's Andrei Alexandrescu
- alabut 15y agoLove his answer to #7 on what advice he'd give to a new developer: "7. What advice would you give to a beginner server-side developer and what to an open-source author / contributor? Meh, advice-shmadvice. Who am I to give advice? What’s experience good for in our field? I used to know how to write a keyboard driver and floppy disc formatters with non-standard densities. I’d be all but obsolete today if I hadn’t learned continuously. Oh, so maybe this would be one piece of advice: learn how to learn, and stick with principles; mastering individual technologies will follow. Technology is a great servant but a terrible master. The best people in our métier are those who know how to quickly become experts in some particular field." Reminds me of Paul B's video from startup school: http://youtu.be/EZxP0i9ah8E http://youtu.be/EZxP0i9ah8E
- eliben 15y agoAlexandrescu is a great programmer, and it's well worth heeding to his advice. While reading "Modern C++" and being honestly horrified by the complexity of C++ and the way you have to fight the compiler and the language to get flexible code working, I was also mightily impressed by Alexandrescu's prowess. It's not hard to see how deeply he understands programming at the most basic level. His writing makes that book very pleasant to read.
- fdb 15y agoThe post mentions concurrent hash tables for C++. Any ideas on which implementation they use? Or are they written in-house?
- j_col 15y agoI 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.
- deleted 15y ago[deleted]
- sausagefeet 15y agoGiven all the work they do to get around PHP it seems more like an "in spite of" not "because of" situation.
- ovi256 15y agoYeah, 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.
- fauigerzigerk 15y agoThe 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.
- ovi256 15y agoFacebook 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.
- fauigerzigerk 15y agoOf 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#.
- stewbrew 15y agoI wish I’d convince a serious hacker to bring things to the point where <?d writeln("Hello, world!"); ?> could be inserted in a web page. OMG!
- deleted 15y ago[deleted]
- adambyrtek 15y ago> To wit, our email and calendar software is off-the-shelf and is the most unpleasant tool to deal with. Get this – we have a few people “specialized” in sending large meeting invites out, because there are bugs that require peculiar expertise to work around. Not to mention that such invites come with “Do not accept from an iPhone lest you corrupt the invite for everyone!” If only they used Google Apps :)
- boubountu 15y agoVery nice interview. Although, I strongly oppose the style of interview questions he is vouching for when recruiting new employees at Facebook. I am a PhD student. I focus on parallel computing. I was interviewed by a company in Seattle. The interviewer asked me to write a function to convert from Decimal to Roman numbers. This was ridiculous. Not even once during the interview I was asked about my past experience or my research.
- helmut_hed 15y agoSo... how did you do on the question?
- boubountu 15y agoI sucked.
- sausagefeet 15y agoIt'd be so easy if it weren't for the number 9!
- andralex 15y agoI understand where you're coming from; it can be frustrating that all doctoral work doesn't count to some interviewers as much as a canned test. At Facebook we constantly work on improving the interview quality for PhD candidates. Our recruiters do a great job at having PhDs interviewed by PhDs of the same speciality (last count we had some 120 PhD employees in engineering). My own employment interview involved three ML/NLP interviewers and one very tough systems/coding interviewer. I had to write code in two of the interviews. In the story you give there's probably a mismanagement of expectations. The company should have clarified to you that either they need their researchers to code in addition to doing research (as is the case at Facebook), or that they only care about coding.