Death of php?


Of course not. They use Python. And as I mentioned, on that benchmark, they have Python on the same abysmal slow levels as PHP.

and why would facebook spend years on hiphop project if php is not slow?

It 's obvious why. To make it faster. This is absolutely natural and expected.

What you need to understand is this: When you do custom builds, you build based on what you deem best to start with, based on your requirements.

If you mod a car to race, do you mod an already fast/sport car or do you mod a truck? :o
 
yes i understand what you are saying, but that that doesn't change the fact that eg. java or c# should be used over php on performance critical parts of the site.
 
yes i understand what you are saying, but that that doesn't change the fact that eg. java or c# should be used over php on performance critical parts of the site.

Like what? Do you know of any commercial site that does anything that involves matrix manipulation or equation solving (like for example in 3D graphics)?
 
Want to do Web? PHP and Python own everything else by far.
I'm wondering what makes you think the interpreter of the dynamically typed php beats the JIT compiler equipped virtual-machine of statically typed java?
 
OK, let's talk seriously here. What about the death of the internet?
 
Like what? Do you know of any commercial site that does anything that involves matrix manipulation or equation solving (like for example in 3D graphics)?

do you seriously think php is slower only on those parts? if php is the only language you know it doesn't mean it is the best language. do some research before commenting back
 
do you seriously think php is slower only on those parts?

You just threw a benchmark that you hadn't even read what it was actually measuring, and now that it doesn't hold to your argument, your new assertion is "I just know"?

if php is the only language you know it doesn't mean it is the best language.

So, now that I 'm not agreeing with you I only know one language :) Do you really think so?

do some research before commenting back

I 'm questioning your research - I 've done mine and so has Google and Facebook ;) PHP is a top combination of efficiency and scalability for the web.
 
Last edited:
You just threw a benchmark that you hadn't even read what it was actually measuring, and now that it doesn't hold to your argument, your new assertion is "I just know"?

that benchmark is measuring performance of most common algorithms as stated here, and clearly proves my point that php is slow.

I 'm questioning your research - I 've done mine and so has Google and Facebook ;)

yes indeed google has done research, and that's why they don't hire php developers

PHP is a top combination of efficiency and scalability for the web.

stop trolling
 
I have to completely disagree here. Mobile applications cannot fill in some gaps the same way php cant fill others. Above all php is a server side language. With this in mind it could access pretty much any resource on that server or other servers if it's setup the way it should. With this in mind it has access to network configuration and monitoring, image editing software(remember gimp has a bash mode), audio and video editing software. So on a server side with some tweaks you can do pretty much anything. Not to mention the way it can handle pretty much any database from mysql to oracle and ibmdb2. Which let's face it is something a mobile device cannot handle.
 
[..snip...]

I think I 've had enough exposure to silliness... Reread my previous replies for details.

nothing-to-do-here-template.jpg
 
There are a lot of things that PHP does badly (let's not get carried away with a discussion about the way they implement object orientated concepts), but as a server-side standard it's miles better than ASP.NET (personal opinion). I am quite excited to see where Ruby-on-Rails goes, and I've been playing with Node.js for a while, but for the foreseeable future PHP will be the go-to language for mobile and regular websites. Even for HTML5 applications, PHP seems to be the dominant language to provide the XML/SOAP interconnect between the application and the server. Finally, no native mobile application would be complete without the ability to talk to the server - and again, this is a space where PHP plays very strongly.

Besides, Facebook is so heavily invested in PHP they won't let it go anywhere.
 
and the app mobile are using a backend server powered by php
 
But still I don't think it really compares to "Borland visual [...]" kind of software that let you design and create desktop based application with minimal coding, as complex php scripts can't be really be "visually" designed (most of them have simply no user interface, just pure script interacting with databases etc.)
What a hell are you talking about man. I have done several gui apps with php thats not problem
Some examples:

Pr checker:

prspider.png

Status net poster:

wys.png

It can be done. But for more complicated tools it just aint reasonable
 
Last edited:
lol I just came to PHP for my android game because I wanted a highscores board and mysql storage for character skills/stats/accounts.

I could have used C#, which I use the most, but my web host doesn't use a windows server and doesn't support asp. PHP just worked from the start.
 
Sorry to dig up the thread after a month, but.. LOL! PHP is FAR from dead, and is just getting more popular.

Mobile apps and web apps are two totally different things. Objective C and Java are used for native mobile apps while PHP is used for server-side web programs.

I guess the only thing really threatening PHP and other languages today like Ruby and ASP is the rise of Websockets, which may make asynchronous programming more popular.
 
No.

Incidentally I have written apps for my phone in PHP. SL4A :)
 
In what? Calculation of math? (that 's what they tested if you read the details about it). According to those tests, PHP and Python are 20-30 times slower that C#/Java.

Well, here 's some news. Web apps are not filled with matrix equation solvers. If PHP and Python were so abysmally slow in real world web apps, neither Google, nor Facebook would have invested a huge amount of $$ in personnel and infrastructure on them. A slow language means they need to spend a lot more on hardware and believe me, they don't care to do that :D

See, a benchmark is as good as its tests and what you 're actually testing for. Want to do math? You 'll use Intel 's uber-optimized C dlls. Want to do Web? PHP and Python own everything else by far.

Does google really use PHP? I didn't realize that. It thought it was like 99% python. Reference please!
 
PHP+Jquery mobile= Web app and Mobile app. How php is dying here?
 
Back
Top