Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21111 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41860 invoked by uid 1010); 8 Dec 2005 09:54:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41842 invoked from network); 8 Dec 2005 09:54:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2005 09:54:20 -0000 X-Host-Fingerprint: 87.123.89.108 i577B596C.versanet.de Received: from ([87.123.89.108:16486] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 87/8E-14828-AC208934 for ; Thu, 08 Dec 2005 04:54:18 -0500 Message-ID: <87.8E.14828.AC208934@pb1.pair.com> To: internals@lists.php.net Date: Thu, 08 Dec 2005 10:54:10 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <22.BF.14828.12287934@pb1.pair.com> <43978303.3070809@lerdorf.com> <92549A1E-EEAD-46EA-B956-5EA3A2F1FBC7@gravitonic.com> <4e89b4260512071917s2a4e0977tcc29ec895966568d@mail.gmail.com> <4397F834.70700@mediawave.nl> In-Reply-To: <4397F834.70700@mediawave.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 87.123.89.108 Subject: Re: [PHP-DEV] Multithreading From: lsmith@php.net (Lukas Smith) Hi, I really do not see the point is worrying all too much about multi threading in PHP. Writing proper multi threaded code is hard and why bother? Your server is going to be busy doing tons of other things at the same time. So all your CPU's and cores should have plenty of things to do. Also PHP is a glue language, so by this virtue it should not require multi threading in order to get decent performance/latency for a request. Most of the work is performed elsewhere anyways (like inside your database server). Of course you can use PHP to write deamons, hardcore number crunching, desktop apps. But this should never dominant decisions about the core of the language. So I welcome whatever Sara is playing with that can be added as an extension to PHP. regards, Lukas