so is facebook.
Are you talking ASP or ASP.NET?
ASP is comparable to PHP.
ASP.NET is not really comparable to neither. It's a totally different paradigm.
Facebook is coded in PHP, but converted/compiled to one of the C languages I believe? But either way, I can't see there being any issues
your own URL said:Since 2007 we've thought about a few different ways to solve these problems and have even tried implementing a few of them. The common suggestion is to just rewrite Facebook in another language, but given the complexity and speed of development of the site this would take some time to accomplish. We've rewritten aspects of the Zend Engine — PHP's internals — and contributed those patches back into the PHP project, but ultimately haven't seen the sort of performance increases that are needed. HipHop's benefits are nearly transparent to our development speed.
Hacking Up HipHop
One night at a Hackathon a few years ago (see Prime Time Hack), I started my first piece of code transforming PHP into C++. The languages are fairly similar syntactically and C++ drastically outperforms PHP when it comes to both CPU and memory usage. Even PHP itself is written in C. We knew that it was impossible to successfully rewrite an entire codebase of this size by hand, but wondered what would happen if we built a system to do it programmatically.
Yup. I read it. They love PHP.One of the key values at Facebook is to move fast. For the past six years, we have been able to accomplish a lot thanks to rapid pace of development that PHP offers. As a programming language, PHP is simple. Simple to learn, simple to write, simple to read, and simple to debug. We are able to get new engineers ramped up at Facebook a lot faster with PHP than with other languages, which allows us to innovate faster.
Yup. I read it. They love PHP.
Why do you need to stick to one language? If I were approaching a large project then I'd be looking at the best language for the presentation layer and then the best language for the actual logic itself. For example PHP to drive the web pages and Java as the back end (just examples - you could substitute other languages for each). The point is that you choose the best tool for each part of the job.
But, of course, one consideration is the hosting that you have and that may well drive your decision to use a single language.
If only it was that simple. Then there wouldn't be an "at length" blog post about justifying their warped logic.