Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47722 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74584 invoked from network); 1 Apr 2010 20:30:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2010 20:30:58 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.216 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.216 mail-bw0-f216.google.com Received: from [209.85.218.216] ([209.85.218.216:60730] helo=mail-bw0-f216.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/C6-44965-F7205BB4 for ; Thu, 01 Apr 2010 15:30:56 -0500 Received: by bwz8 with SMTP id 8so1156622bwz.23 for ; Thu, 01 Apr 2010 13:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=2iMCloBEES6duFgeIYTBIHI1/WxeESY9X+6XEqjZ35o=; b=dDZfAfTmtH9oVDoxzCc1IjxSqnipY2aNg+1fmRHOSDgvv1JDAc09EePozqpaMqdSlD aMTsVQx/YLcCr1u7m41OpxwgBtAVDn+0ZFZLqtZNxcRVEY5iIqa92KvbjrUaeaXF3Ekx EG5I79aRZlAzoMMoJAHDsXL+TGnwvPt2dUmzM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=APLvBD/Rte6YbM3B4+TSPxp/tAgRgrtwBtB3rORuz7nomeMluO/MQirFYCWS+uG1Uf r+Ikr8AsF264bVC8rYAy7fZ7ajpubrQrqKaByRHcCbE75YdTkdBcSgcyw3quey6t03e1 u2Wpcl0GWcVRoJrtcx/DB1ENvlApu+sEGa/6k= MIME-Version: 1.0 Received: by 10.204.64.200 with HTTP; Thu, 1 Apr 2010 13:30:51 -0700 (PDT) In-Reply-To: <5BAD9F0C-858B-4DE5-9303-C1FF08F19C65@gmail.com> References: <1941231697.20100401163215@gmail.com> <4BB4E80A.3000402@zend.com> <5BAD9F0C-858B-4DE5-9303-C1FF08F19C65@gmail.com> Date: Thu, 1 Apr 2010 22:30:51 +0200 Received: by 10.204.152.214 with SMTP id h22mr1855475bkw.125.1270153851991; Thu, 01 Apr 2010 13:30:51 -0700 (PDT) Message-ID: To: Alexey Zakhlestin Cc: Stanislav Malyshev , speedy , internals@lists.php.net Content-Type: multipart/alternative; boundary=0015175cb4ba2879b3048332bd06 Subject: Re: [PHP-DEV] php and multithreading (additional arguments) From: tyra3l@gmail.com (Ferenc Kovacs) --0015175cb4ba2879b3048332bd06 Content-Type: text/plain; charset=UTF-8 > Anyway, do we really have to tell people "you don't need it" when they > believe that they do? > Python has multithreading and it works reasonably good. People who know > what they are doing can implement really brilliant solutions (think Tornado) > > Interesting thing here threads would require (at least if they are implemented the way C, etc. threads usually work) whole new protocol of synchronization too. Just think about something: do you have shared classes/variables/etc.? Eve Online in Stackless Python fmspy.org with stackless python etc. > And something like GIL feels like a reasonable compromise to me. > I think PHP is the last from the major scripting languages on the market without some kind of thread support. (Cannot find a good comparsion, but Ruby, Python, Perl does some) Tyrael --0015175cb4ba2879b3048332bd06--