11 ms·
Good news, any idea which version this will be included in? I know PHP 5.6 is already in beta, so I'd assume this'll be PHP 5.7, but this is really good news. W
by trebor 12y ago
Good news, any idea which version this will be included in? I know PHP 5.6 is already in beta, so I'd assume this'll be PHP 5.7, but this is really good news. We have some sites that are just begging for an actual 10-30% increase in speed.
- mrsaint 12y agoIt's PHP 5.7.0-dev right now. You can download and compile the development branch yourself: https://wiki.php.net/phpng https://wiki.php.net/phpng
- kolev 12y agoGreat. Any ETA on phpng stable release?
- trebor 12y agoGive it a year or two. Seriously! 5.5 was just released a little while ago and 5.6 is just in beta now.
- kolev 12y agoJust try to imagine HHVM in year or two. Zend PHP will be irrelevant by then.
- velodrome 12y agoThe only way that is going to happen is if HHVM was integrated into PHP core (similar to ZendOpcache).
- enterx 12y agoHHVM is a reimplementation of the PHP language. http://grokbase.com/t/php/php-internals/12bvegp9cv/hhvm-and-php http://grokbase.com/t/php/php-internals/12bvegp9cv/hhvm-and-...
- trebor 12y agoIrrelevant how? I doubt BlueHost, HostGator, Dreamhost, etc, and on and on will have implemented HHVM as their core PHP offering by then. Most web hosts still have PHP 5.3 installed, and even the PHP 5.4 I've used on Media Temple's servers is out of date. But at the rate PHP's release cycle has accelerated (remember that 5.3 dates from 2009...) it's entirely likely that the trend will continue. And more hosts are offering up-to-date PHP versions as an option. I still see a future for Zend PHP.
- kolev 12y agoIn 2 years, HHVM will perform so much faster than PHP 6 and Hack will offer so many added benefits that even the shared hosting guys will switch to it as it will make them serve more sites with the same hardware plus developers will push to have Hack in place anyway.
- coldtea 12y agoThat's not how it normally works with those kinds of re-implementations. Heck, Python 3 hasn't even replaced Python 2 -- and people will dump PHP for Hack? A language which doesn't even have a community at the moment, it's 99% Facebook people.
- kolev 12y agoPython 3 is a different story! As you mention below outliers, let's not use them, please! GNU/Linux OS does not depend on PHP like it depends on Python.
- kolev 12y agoAlso, if we have to use Python as an example, then PyPy was a better analogy than Python 3.
- coldtea 12y agoOnly I compared PHP to Hack above. PyPy would be a better analogy to HHVM-PHP.
- kolev 12y agoI'm not sure why you guys ganged up to downvote on something obvious - PHP is loosing grounds to HHVM already. I'm considering it for all my PHP projects already - it's easy to install and most PHP frameworks are well-supported already (http://hhvm.com/frameworks/ http://hhvm.com/frameworks/). I can imagine HHVM having integration within Nginx a la HttpLuaModule, which uses LuaJIT and would eliminate going the FastCGI route.
- coldtea 12y ago>I'm not sure why you guys ganged up to downvote on something obvious - PHP is loosing grounds to HHVM already. Perhaps because some on HN are computer scientists, so to convince them it takes actual numbers and not some anecdotal evidence of what you personally use. Judging from all available data sources, you are an outlier. HHVM doesn't have that large a community (mostly FB people), is not installed in the overwhelming majority of hosts, still has compatibility issues, has few posts about it, there are very few mentions of companies using it, and, for what it is, has been largerly ignored in the whole PHP community (forums, etc).
- kolev 12y agoI have nearly 30 years of professional experience and my intuition is pretty reliable. If HHVM wasn't what runs the largest PHP app in the world, things would have been much different. Hack brings many language people that Zend for one reason or another didn't not deliver all these years.
- smsm42 12y agoBlue whale is the largest mammal on the planet, but that doesn't mean eating nothing but krill is a good idea for every mammal. Everybody has different needs and different capabilities, so "Facebook does it" and "everybody does it" are quite different.
- kolev 12y agoAs a side note, krill is pretty nutritious - just not widely available to all mammals.
- debacle 12y agoFor what it's worth, I agree with you. Don't know why the downvotes are coming - it's very clear to see that FB is going to be better for PHP than Zend.
- LawnGnome 12y agoI suspect this'll be the basis of a new major version, based on early discussions. It probably won't be a 5.x release.
- frik 12y agoThere are already PHP 6 books out there from 2009 (planned v6 renamed to 5.3): https://www.google.com/search?q=php+6&tbm=bks https://www.google.com/search?q=php+6&tbm=bks They could name it PHP 7 to avoid further confusion.
- velodrome 12y agoPHP 6 was really about unicode support. It will actually create even confusion among veterans. Also, those PHP 6 books are really aimed at beginners. In addition, skipping a version number also creates confusion. If they were going to go this route, they should have done it a long time ago (around 2010-2011). http://www.slideshare.net/andreizm/the-good-the-bad-and-the-ugly-what-happened-to-unicode-and-php-6 http://www.slideshare.net/andreizm/the-good-the-bad-and-the-...
- nly 12y agoYeah well... give it just a couple of more years and there will be kids born as Perl 6 was announced getting webdev jobs.
- BorisMelnik 12y agoWith claims / benchmarks like this I am sure you are right, particularly for a product that ships as much as WordPress does. Wordpress 3.6 – 20.0% gain (253 vs 211 req/sec) I have a few enterprise sites that I am constantly looking for ways to optimize for speed: DNS, CDNs etc. This looks like an easy win.
- ErrantX 12y agoLooks like it will be 5.7 which is great! Just tested against our codebase, and it builds very quickly (maybe 15-20% increase in speed in unit tests) so very impressed!