Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76091 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30758 invoked from network); 25 Jul 2014 07:12:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2014 07:12:38 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-lb0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:42781] helo=mail-lb0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/A5-29475-26302D35 for ; Fri, 25 Jul 2014 03:12:34 -0400 Received: by mail-lb0-f178.google.com with SMTP id c11so3061647lbj.23 for ; Fri, 25 Jul 2014 00:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=RItLh9anfwqcdqGqXsdLSfZsi7iVXE89EVG7HO8U3n0=; b=El7YkRPlRav8BBm1obpiL4g3Kxs7XaFenxloDsO/E9hamX2vOqn5BY8j9x0kRmn7K9 H/mvyM2Mwfwpm+zRRBvpOBZ1etobcxl2AyF1ueLh7LatV1fzK0Q/NsatBOVcjmoVnyIt GQXO8AxwI5VDNYEoWcZ+yT2nIALcKdvIWuvkMgHx0clqYWi/qZV3jNiuz9RP/aFQSXD9 4w5Kj9M/uuoM9WOTZTvMLtiWL6uFBZXYJItTpNvc9XPqfmUT+XqKZLP+T3muh04GjWFF TbkS9uvjWq3FKeeYEduLE2eAaDNQzA3XYD6+usEvEts3sjC82SigpHwsUJdFaMQ3siHp 8ExA== X-Received: by 10.112.150.106 with SMTP id uh10mr13376886lbb.11.1406272356372; Fri, 25 Jul 2014 00:12:36 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.114.187.72 with HTTP; Fri, 25 Jul 2014 00:12:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Jul 2014 15:12:16 +0800 X-Google-Sender-Auth: lU0zMBPMKSknMHnY0_2GH8pLdpM Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: About PHP NG "document lacking" argument From: laruence@php.net (Laruence) Hey: On Fri, Jul 25, 2014 at 2:56 PM, Laruence wrote: > Hey: > > First of all, I don't want to make *that* thead longer... > > as you can see, some devers says critically phpng is lacking of > document, and they make that as the main reason for them to against > phpng. > > I have to say, in my opinion it's totally ridiculous. > > 1. how many devers in here really knows zend engine? how many > tried to know it? > I assume a little, as you can see, only a few activate zend > engine maintainers now. dmitry is the most experience one. > > 2. does PHP really has had a good API document? > > no, when I first tried to write a extension, I found no > documents, or they was far beyond outdate, I event don't know how > config.m4 works.. > > I learn PHP by reading the codes, and the example under ext/* > > 3. is document really important for PHPng? > > I don't think so, PHP can always read the codes, PHP is > opensource , it is not *MS* who need document to tell people what it > did in dark. > > 4. is PHPng API became more ugly? or harder to maintainable? > > I feel really bad to see somebody said such things... > > first of all. ugly, maintainable. it is too too subjective, > and to be honest, it's obviously biased attitude. > > second, I , the main author of PHPNG, and Nikita, Dmitry, > are the most activate internal contributors now. so you are saying we > are writing ugly codes? I really can not agree with that. > > actually, the zend_hash API become more clear, and beatifuy > than before. > > maintainable? who is the main force to maintain the PHP > internal now? yes, the authors of PHPNG.. > > I think I have the more rights to say whether it is more > maintainer able or not. > > and it's become more maintainable, because of more clean API > and more reasonable logics. > > 5. are we going to write docs? > > yes, for people, who in love with PHP, who want to make PHP > extensions, we are glad to write some APIs (which will be enough in a > dever eye). > > actually we already doing it: https://wiki.php.net/phpng-upgrading > > 6. is PHPng really faster? > > yes, from my own test, it get more than 80% qps improvement in > wordpress than php-5.6 . for those big PHP users, that means they can > save lots of money. > > I see no reason to not have such a great change. anyone who > tried to block such a amazing feature merge into PHP, is doing crime > for PHP. > > I am not a native english speaker, so maybe I confused you in > some words , sorry for that. > > I really hope the people in this group, the people who loves PHP, > the people who want PHP become more popular here. stop less reasonable > arguing, let's together to make this biggest change merge into PHP, > make PHP users more easy life.. > > If you think we need write doc, let us write it. > > If you think we need more clean APIs? please tell me what style is > more clean, we can disccuss it, refactor it. > > If you meet problems when you try to upgrade you extension from PHP > to PHPng, let's add more info into the doc, or I can do some part of > your work for you. as I have almost refactor all the extensions under > ext/ > > and what do you want else? > > please, just, please, stop the worthless talking, I really don't > want to see such useless words anymore.. for those who don't know me yet.. I am Xinchen Hui, from china, the author of the first PHP extension PHP framework Yaf, the first PHP occurrent RPC framework Yar, and Yac a user data cache. lua.. I am also the maintainer of msgpack, opcache. I start contribute to PHP from 2011, and I am also the main author of PHPNG I care performance of PHP very much, since I am also the chief architect of Weibo. we have thousands machines run PHP.. and * I will keep contributing to PHP, PHPNG *, so I think you could trust me that I love PHP, and PHP NG is the most amazing work I have participated in. thanks > > > thanks > > -- > Laruence Xinchen Hui > http://www.laruence.com/ -- Laruence Xinchen Hui http://www.laruence.com/