Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73934 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68138 invoked from network); 6 May 2014 05:28:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2014 05:28:05 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 74.125.82.182 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 74.125.82.182 mail-we0-f182.google.com Received: from [74.125.82.182] ([74.125.82.182:64221] helo=mail-we0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/6B-44049-2E278635 for ; Tue, 06 May 2014 01:28:03 -0400 Received: by mail-we0-f182.google.com with SMTP id t60so2715234wes.41 for ; Mon, 05 May 2014 22:27:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GAEH1Vv2Fmy50Dej4069tDCbCtTuT7mIAK3FEdBY648=; b=arJWTdqaKXPk8jOOFS65+Bv8zyF5AUSHC22Re5utiVdWvtnOcNnqaq+t7zd4EiU1vL mh5R2TTehAIXbt6F4hDKDX7oVgIKHfytH3GH1A2G0X60qoMQtbrtIbUdbOXdMf3LOvLj TxmfZ+SAwDSvNEpjTaniflTXHEQ3w9Sz0xhQOc8aWIB9wxnPxQ19t+XHD3BT+zll04Hc 3mFXjpK+4uWxEubabwULtdBQv7XIFtHKRt+FN/mDCouw+cKps7YzndEWTiuaKtSznTL0 UWT/O05CCzwZeUacHpva+TIf0+1wJxKMgKlMJ0PjhjgyxHKjMjTn96vq1L/WHqGvp+ho GdrA== X-Gm-Message-State: ALoCoQlWjvNgNAQKEj9vdwcp1p5ZpNKZxW0po5Elh+EzAVQ8yk7EC/bQy3LeH2vbng1MzfAAIfv09x/ivBbo2VIMFZDfgRg8yAZkVG/06mYS4hIs22FQiCttUneu2qIa9LWI0gcv41Tb MIME-Version: 1.0 X-Received: by 10.180.75.45 with SMTP id z13mr19352199wiv.41.1399354079629; Mon, 05 May 2014 22:27:59 -0700 (PDT) Received: by 10.227.234.6 with HTTP; Mon, 5 May 2014 22:27:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 May 2014 09:27:59 +0400 Message-ID: To: Pierre Joye Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d043893edd4edad04f8b48215 Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: dmitry@zend.com (Dmitry Stogov) --f46d043893edd4edad04f8b48215 Content-Type: text/plain; charset=UTF-8 On Tue, May 6, 2014 at 8:19 AM, Pierre Joye wrote: > On Tue, May 6, 2014 at 1:44 AM, Dmitry Stogov wrote: > > > ZTS wasn't in our priority list, but Nikita made it more or less work. > > Why do I have a deja vu feeling? ;) > I really, don't see a lot of sense in using ZTS and didn't like to spend our time. > >> Also one thing is totally missing, and is also caused by something > >> that becomes a common case, the 64bit support as it should be has been > >> totally ignored. That makes Anatol work to keep the 64bit branch > >> almost useless. My take on it is that we should either: > >> > >> > >> - move your patch to this branch and then merge to master > >> - merge the 64bit branche then this patch > > > > > > I afraid both ways aren't going to be simple. > > Rght, but again, I really do not feel comfortable to ask Anatal or my > team to redo all the work. This would be very bad. > I see your point. Please, look from mine. Just compare the sizes of diffs between branches. We won't be able to care about unstable development branches... We may help, with reimplementation of int64 patch, but actually we come to ask help ourselves. I hope we will found some compromise. It can't be a problem if our goals are not opposite :) > > Anyway, I think 64-bit integer support on Windows64 makes full sense and > > it's possible to add it into "phpng" right now. > > Again, it is by far not only a windows change, even if Windows is the > platform with the most visible change from a user point of view. > OK. Win64 is enough for this patch. I wouldn't care about others, because I even don't know the names. > > I'm not so sure about size_t string length. > > It is hardly imaginable to release php 6 with strings length still > using integer. The memory consumption has been shown to be minimal > during the discussions about the 64bit support. Or did I miss some > important new information? > I wouldn't mix size_t string length with 64-bit support. These are two independent changes. int64 would make 64-bit PHP version behave more or less consistent with minimal cost. size_t string length will increase memory consumption and memory traffic for the cases that no one web application will use (2GB strings). I'm trying to save (or even improve) memory consumption, because I know how it may affect performance because of CPU cache misses. Lets apply the first part first. Sorry, I already said my opinion about development. Thanks. Dmitry. > > I understand your opinion, but when we started this project we didn't > know > > if we will get any useful results at all. > > You know, I can't ask everyone in PHP community to freeze development and > > wait while we are thinking :) > > No, but it is possible to get a branch and work on it, sync it with > the other relevant branch. That is what we have done for the 64bit > branch, providing updated builds and tests results while working on > it. Everyone can test it or contribute. This is the way to do such > things from a technical point of view. It is also the way to do it > from a cooperation point of view, for the reasons I gave earlier. > > > >> I am not sure how to change that or make developers being more open > >> and stopped hidden developments. Any ideas or thoughts on this topic > >> are welcome. It is critical and vital for php, a must do. > > > > > > I don't see problem in hidden development. The formed ideas come as RFC > with > > patches. > > Well, I do when it comes to such massive changes, no matter how > positive they are. It is all about being open and transparent. Early > participation eases the understanding of the changes, design or > debugging of the new features or changes. This reduces the bus factor > when it comes to maintain it and we both know that this has been an > issue for too long for everything around the engine area. > > Cheers, > -- > Pierre > > @pierrejoye | http://www.libgd.org > --f46d043893edd4edad04f8b48215--