Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73922 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17370 invoked from network); 5 May 2014 23:44:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2014 23:44:50 -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.50 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:42267] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/F5-44049-F6228635 for ; Mon, 05 May 2014 19:44:49 -0400 Received: by mail-wg0-f50.google.com with SMTP id x12so2129969wgg.9 for ; Mon, 05 May 2014 16:44:45 -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=MwVLa010Q/s2FPS64nQJTU5XI7QIfWLNpBI/fMqy/rQ=; b=ZWLMvSLOqE67FW2g+iKM4QU9b1a1osI3dP1PTYQHLa36DKgxFkgD+jvReA41jf7Bi9 jq0efbh+LYqrRwDApLglDkUoE1cGvF9n5w9qZ5KQBLuThDVzgsUv5pQXg2UuFs6nPxMQ lo82m646ndlE84+cjO/Ru776CG3mYb9rHHfthcviJwZYe/CDsvju1Ni3treBHVZ23CD2 jx3ztOGobvNO9N0o7bioWalJxP/My2hM7/qSWacGO9sjTTwjEx2Jp30zMAvSba5qcruh d9Z6qD17mHsTM7kBsdn11gPqWp+gbQkcSmCG6gKJt9OS4l5QuawynmbBsVxEByEAHUp8 21yw== X-Gm-Message-State: ALoCoQkinieLpyL52s6Z4EcGyYUrrJYw4wrteXVpdXFaVDWoAFp2qk6oeuOJL+RYQd3dAjAe6ShSqm0lZqVGZ0iQGolW7O/HFp7oLLIuFb87C1SMVX6FnHjJxWnj/gx5iArpnR6I3cjn MIME-Version: 1.0 X-Received: by 10.180.14.199 with SMTP id r7mr18237023wic.0.1399333485157; Mon, 05 May 2014 16:44:45 -0700 (PDT) Received: by 10.227.57.133 with HTTP; Mon, 5 May 2014 16:44:45 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 May 2014 03:44:45 +0400 Message-ID: To: Pierre Joye Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d04138e5f4e3be104f8afb7ba Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: dmitry@zend.com (Dmitry Stogov) --f46d04138e5f4e3be104f8afb7ba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, May 6, 2014 at 2:20 AM, Pierre Joye wrote: It is an awesome step moving forward, thanks to everyone involved in > this work! I will see how fast we can integrate this branch in our > tests. > > Note, that we even didn't try to run it on Windows. So it must be some problems. > > > Please try the refactored PHP engine and provide feedback re: > performance, > > memory usage and any issues that come up. You may find it in *phpng* > branch > > at *php.net *. Some instructions may be found at > > *http://wiki.php.net/phpng > > *. As mentioned, there are some missing > > extensions so not everything will run. > > Could you move these pages (this one and the internal one) either to > /draft or /rfc please? the latter makes more sense > > However I suppose basic windows tests are missing, as well as TS > sapis, right? Is it at least supposed to work in TS mode, by design? > Or should we expect some major issues? > ZTS wasn't in our priority list, but Nikita made it more or less work. > > I would like to say many thanks to Xinchen and Nikita who made > significant > > part of presented work. > > > > I think that this engine can make the new major version of PHP we=E2=80= =99re > > talking about a lot more interesting. > > Do I understand correctly that you target php 6 for these changes, right? > The next major release - 6 or 7, of course, if we port all extensions and solve all problems. > 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. Anyway, I think 64-bit integer support on Windows64 makes full sense and it's possible to add it into "phpng" right now. I'm not so sure about size_t string length. > > That being said, I am not sure what requires less effort but I do not > feel comfortable to scratch the 64bit branch and begins from almost > zero. > > There is something that we have to improve, drastically, > communication. Such major changes, developed (and still being worked > on) should pop up in the list and in the radar of other developers > much earlier in the process. For two critical reasons: > > 1. Avoid work conflicts, be for similar features/changes or other > areas being deadly affected by such changes > 2. Increase visibility, feedback and cooperations. The earlier other > developers are involved the better it is to get more people involved > in the engine development and maintenance. > 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 :) > 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. Anyway, I'm open to discussions, if they won't take too mach time. Thanks. Dmitry. > > Cheers, > -- > Pierre > > @pierrejoye | http://www.libgd.org > --f46d04138e5f4e3be104f8afb7ba--