PHP Classes

Zend and Facebook jointly make an impact on PHP

Recommend this page to a friend!

      PHP Classes blog  >  PHPNG Dramatic Speedu...  >  All threads  >  Zend and Facebook jointly make an...  >  (Un) Subscribe thread alerts  
Subject:Zend and Facebook jointly make an...
Summary:Zend and FB developers unite together and bring the best for PHP
Messages:2
Author:Saleem Jash
Date:2014-05-12 11:22:29
Update:2014-05-12 11:35:47
 

  1. Zend and Facebook jointly make an...   Reply   Report abuse  
Picture of Saleem Jash Saleem Jash - 2014-05-12 11:30:25
It would be great if Zend and FB developers unite together and bring the best for PHP and the community. PHP developer community should bring the best features like asyncronous programming and Multithreading capability that are implemented in Hack to PHP language as extensions as sooner as possible. Something like pthreads (http://www.pthreads.org) would be great. It's a great article.

  2. Re: Zend and Facebook jointly make an...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-12 11:35:47 - In reply to message 1 from Saleem Jash
In general multithreaded programming is not really necessary if good asynchronous programming is available in PHP like Hack provides. When you handle a HTTP request, it is usually so fast that it hardly makes sense to create parallel threads.

HHVM multithreaded HTTP servers is a different thing. It creates threads to handle simultaneous requests. It takes less memory than processes like in Apache mod_php or FastCGI mode.