With what programming language was Facebook written??

by 11 comments
Hi,
I was just wondering if anyone knows what programming language was used by Mark Zuckerberg to write facebook.com?

Thanks
WE
#programming #facebook #language #programming #written

  • Profile picture of the author IceTeam
    At the front end, their servers run a LAMP (Linux, Apache, MySQL, and PHP) stack with Memcache.
  • Profile picture of the author KyleGolemMedia
    A lot of PHP, too.
  • Profile picture of the author wrongnumber
    hi,

    initially zuckerberg wrote it in php, backend was a lamp stack, later as the needs grew, the servers had to be incorporated with a cdn (akamai) and hashcache servers were introduced, later memcache came into being which is a opensource project written by Facebook engineers themselves.

    Since they use off the shelf hard drives and systems, more of the coding is custom. To introduce new features C++ was introduced some time ago, at the backend aswell as the front end (which is ofcourse visible in the source code of the webpage written as ...CDATA...)

    Currently their servers serve 5,00,000 photos a second, and add more than 24tb of just the picture data every week, so... they have to be pretty cautious about space.

    Hope that helps, you can search more about them at their developer blog and wikipedia.

    Thanks
  • Profile picture of the author Jason Z
    Interesting, I didn't realize that it was originally done in PHP. That's some serious data pumping through their servers these days. Pretty amazing.
  • Profile picture of the author mojojuju
    Don't forget that they use HipHop to convert their PHP to optimized C++ which is then compiled to a binary.
  • Profile picture of the author webexperts666
    Thanks for all the reply's.
  • Profile picture of the author aeroturner
    Really a good question..its hard to find what programming language is being used by fb team..I think so ful n full PHP plays with them..what u guys thing abt python ??
  • Profile picture of the author webexperts666
    Originally Posted by aeroturner View Post

    Really a good question..its hard to find what programming language is being used by fb team..I think so ful n full PHP plays with them..what u guys thing abt python ??
    Thanks I dont think python is used on that.
  • Profile picture of the author st8ic
    Originally Posted by wrongnumber View Post

    hi,
    To introduce new features C++ was introduced some time ago, at the backend aswell as the front end (which is ofcourse visible in the source code of the webpage written as ...CDATA...)
    Not what that means.
  • Profile picture of the author PhaedraDragon
    So what was the original language used to build Facebook? Was it Pascal? Was it Cobal? Was it Fortran? Was it Binary? Was it Machine Language? Was it C? Was it C+? Even PHP has to be written in some form of language.
  • Profile picture of the author PhaedraDragon
    For that matter, I could ask what Base Number system was also used?
    Binary - Trinary - Quad - Quint - Hex - Octal - Hexidecimal?

Next Topics on Trending Feed

  • 15 {{ upvoteCount | shortNum }} 5

    I have started my own website which will provide virtual assistant to busy people who need help in there day to day life. I have been planning for it since last six months now website is almost completed but i am stuck at some point . I have lots of people with me who are ready to work and who are well qualified. I am confused how to get leads for the website. Is SEO will work or should i focus on email marketing and other. Please help me since it will create lots of employment. And i want to help unemployed people via this.

  • 16 {{ upvoteCount | shortNum }} 5

    Hello guys! I began trying to make a little side cash online and joined Warrior Forum back in 2011. In 2012 I was making Adsense Micro Niche sites and also Amazon sites, always focusing on keywords that I could grab an open .com domain name for. I had many flops, but did have an amazon site that did well and make me about $100 a month on average. I got excited and began writing more and more articles, creating more and more sites. Eventually my marriage hit a rough spot because my wife was upset I spent way to much time on the computer so I walked away from the micro niche site world... Fast forward 4 years, the marriage didnt work out anyway and I wish that I would have never left, I now feel like I have so much to learn all over again! Are Amazon sites still a decent way to go? I woulnt ask for anything to be spoon fed to me I know that is a huge pet peeve for many forum members, but any suggestions or just pointing in a general direction would be greatly appreciated!

  • 163 {{ upvoteCount | shortNum }} 5

    What would you write on your blog when you haven't even launched your product? I looked at 10 blogs and saw that most of them wrote about 'How they achieved and X metric' (non-relevant to the product), culture and other stuff when the whole idea is to gain more 'beta interests'! As a marketer, what will you do? In other words, what will be your content marketing strategy?