Re: I want to write a Multi-threaded PHP Application
| From: | D. Dante Lorenso | Date: | Thu, 27 Apr 2006 08:24:10 +0000 |
| Subject: | Re: I want to write a Multi-threaded PHP Application | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234900@lists.php.net to get a copy of this message | ||
Gonzalo Monzón wrote:
Use Python, it is the way to go if you're willing to use mt :-)I've already written the multi-threaded server using Java. I want to do this in PHP, however, because the PHP "threads" can re-use PHP classes I've already written and hence standardize on a single codebase and language. Many other languages have threads (Java, C#, Python, Ruby, etc) ... which is why I'm so amazed PHP does not even list Threads as a priority. You simply can't be an enterprise language without these basic features. Of course, don't get me started on namespaces too ;-) No, choosing a different language has been considered and I'd rather continue with my hacked multi-process PHP server solution before I am ready to change to a different language. Dante