This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why mark zuckerberg used c++ and java while making facebook even after using javascript,php,sql ?
06-16-2014, 01:23 PM
Post: #2
 
Javascript is designed to run from a user's computer. The entire script has to be downloaded to their computer and then it runs from there. That makes it very slow for running large programs (you would be waiting 45 minutes for your Facebook page to open) plus it is not very secure (everything is on that person's computer where they could steal the code.) So while it can be used for simple things, javascript would not be useable for something as large as the Facebook program.

PHP is a script language. Meaning it has commands for doing task and maintenance on your computer. But it lacks many of the features you would need to create a full blown program like facebook.

SQL only does one thing - manage databases. It does not have the ability to display graphics, etc. While Facebook uses SQL to access its databases, it needs more than just SQL to make a full web site.

Java is a full programming language and it is able to function on all platforms. So it is a good choice for creating web applications, A program written in Java will work on a PC, a MAC, Linux, etc. So it is often used for web apps. However it is slower than "C" because it is not compiled into machine code, but is read an interpreted each time the program is used.

So C is the best program to do all the behinds ths scenes, things. More powerful, faster, has more commands, and is secure. So that is what they use for most of the Facebook code.

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[] - dewcoons - 06-16-2014 01:23 PM
[] - Wada - 06-16-2014, 01:39 PM
[] - Neerp - 06-16-2014, 01:46 PM
[] - dq - 06-16-2014, 01:50 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)