Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   With what programming language was Facebook written?? (https://www.warriorforum.com/programming/497316-what-programming-language-facebook-written.html)

webexperts666 2nd December 2011 12:39 PM

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

Thanks
WE

IceTeam 2nd December 2011 12:50 PM

Re: With what programming language was Facebook written??
 
At the front end, their servers run a LAMP (Linux, Apache, MySQL, and PHP) stack with Memcache.

KyleGolemMedia 2nd December 2011 01:12 PM

Re: With what programming language was Facebook written??
 
A lot of PHP, too.

wrongnumber 2nd December 2011 01:15 PM

Re: With what programming language was Facebook written??
 
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

Jason Z 2nd December 2011 02:12 PM

Re: With what programming language was Facebook written??
 
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.

mojojuju 2nd December 2011 06:17 PM

Re: With what programming language was Facebook written??
 
Don't forget that they use HipHop to convert their PHP to optimized C++ which is then compiled to a binary.

webexperts666 3rd December 2011 12:06 AM

Re: With what programming language was Facebook written??
 
Thanks for all the reply's.

aeroturner 3rd December 2011 01:41 AM

Re: With what programming language was Facebook written??
 
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 ??

webexperts666 3rd December 2011 03:50 PM

Re: With what programming language was Facebook written??
 
Quote:

Originally Posted by aeroturner (Post 5166258)
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.

st8ic 3rd December 2011 04:24 PM

Re: With what programming language was Facebook written??
 
Quote:

Originally Posted by wrongnumber (Post 5163171)
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.

PhaedraDragon 4th December 2011 06:27 PM

Re: With what programming language was Facebook written??
 
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.:D

PhaedraDragon 4th December 2011 06:29 PM

Re: With what programming language was Facebook written??
 
For that matter, I could ask what Base Number system was also used?
Binary - Trinary - Quad - Quint - Hex - Octal - Hexidecimal?:D


All times are GMT -6. The time now is 11:13 AM.