PHP 7.0 Nearing Release, Performance Almost As Good As HHVM
An anonymous reader writes: PHP 7.0 RC2 was released on Friday. In addition to the new language features, PHP 7.0 is advertised as having twice the performance of PHP 5. Benchmarks of PHP 7.0 RC2 show that these performance claims are indeed accurate, and just not for popular PHP programs like WordPress. In tests done by Phoronix, the PHP performance was 2~2.5x faster all while consuming less memory than PHP 5.3~5.6. Facebook's HHVM implementation meanwhile still held a small performance lead, though it was consuming much more memory. PHP 7.0 is scheduled to be released in November.
So from an entirely awful language and environment to just an almost entirely awful one?
Sure. Lots of folks use PHP for writing quick server code, because it makes light work of prototyping things. If you know what you're doing, it is a solid programming language, offering a fairly clean, C-like syntax, without the horror of Perl's backwards instructions and bare regular expressions, the OO bloat of Java, the need to install additional interpreters (problematic on shared hosting services), etc.
Check out my sci-fi/humor trilogy at PatriotsBooks.
I've written several commercial grade, industry wide web applications in PHP... can't consider a time when someone has hacked the site, jacked the site, or basically screwed it over because of some piss poor LANGUAGE flaw.
A great developer is what matters.
And I've seen my fair share of perl code that was completely stupid, filled with security holes and bugs up the ass.
Honestly, I've been using PHP for twelve years, and Java, C++, and C# for about as much... and frankly wonder WTF sort of mind it takes to even create a shitty application in the first place.
Am I an exception to the rule? Probably. But I'm excited for PHP 7. It works... if you know how to make it work.
I've seen enough shit websites built in PHP, and ASP, and perl, and C#, and JSP/Java... WTFever... and frankly, its not the language that's the problem.
I would say that nodejs is now a better choice for anything that would be otherwise done with php.
You know a language really sucks when switching to JavaScript is considered an improvement.
But but it is webscale with the complexities of assembler with the efficiency of Javascript
http://saveie6.com/