Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75753 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61707 invoked from network); 21 Jul 2014 09:28:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2014 09:28:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.179 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.179 mail-vc0-f179.google.com Received: from [209.85.220.179] ([209.85.220.179:32867] helo=mail-vc0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/02-51736-F1DDCC35 for ; Mon, 21 Jul 2014 05:27:59 -0400 Received: by mail-vc0-f179.google.com with SMTP id hq11so9968418vcb.24 for ; Mon, 21 Jul 2014 02:27:57 -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=swmbLso0xS+Oyw16TuhHDtAC5S8fLt1mg5k+KGeRWpQ=; b=fzsXozxeYu02WKTf7w38ipym9DGpNJe+6a4QOOlO3EubHaQJ8iGkDriCyI607zAP6L DwOGaE7uu/W6qcyyq+DoGlUL0sk291v7UbpfgFAzoL6PcKcyh28iejzHiwV8S1H5v7rP WmHA+21YR9akMNWj4jj2Sw/pVpseKbUd/1uMvbDfwQJP4M3Zn9r9CaUMr4H3il4ibgyW 1/+ZiAkcd0Dzg/hajaPxk9hDCmKZPPEDKwTUzODp5p4Y3G+e8vefUaUSQqk/5xng8QOS pCqhzOolUOrkHhEITOEcdxZkv6/6c8fGYI0944QhZtG67iZQe2KY0k02SIlR6q848eyl RIxQ== X-Gm-Message-State: ALoCoQky4bh15/OkxEHNtkSpD5Zdm7R3UM6SF2injd6KbG8STZjbwnYlkkkcEXRv5+MHKobHM5UvgWzPjKUqc32K7j0nlT0hBrQ/bVQmO1Y1QSmVL36925k+BnLzo86xPv0j/EG46GK7 MIME-Version: 1.0 X-Received: by 10.220.95.132 with SMTP id d4mr27351921vcn.33.1405934877176; Mon, 21 Jul 2014 02:27:57 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Mon, 21 Jul 2014 02:27:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Jul 2014 13:27:57 +0400 Message-ID: To: Julien Pauli Cc: Pierre Joye , Zeev Suraski , PHP internals Content-Type: multipart/alternative; boundary=089e0158b2f6ee92d104feb0b8a4 Subject: Re: [PHP-DEV] RFC: Move phpng to master From: dmitry@zend.com (Dmitry Stogov) --089e0158b2f6ee92d104feb0b8a4 Content-Type: text/plain; charset=UTF-8 Hi Julien, > Hi > > I can only agree here. > > I'd like a clean API. We need to consider PHP-Next jump as an opportunity > to > clean our API and finally have something understandable for a > newcomer, and documented. That's a move nobody dared to take in the > last decade, degrading more and more our codebase in term of > understandability and flexibility. This can't last > I'm more than agree about internal cleanup. phpng benchmark results proved that we take the right direction and now we implemented most the ideas we had. Note that we tried not to change PHP behaviour in any way. Now it's a good time to start the cleanup work. > Old features and unused things should be cleaned up. > Quickly caught, impacting the engine : > - Resources are a hell, mixed with zend_lists etc... inconsitstent and > absolutely PITA to develop with. > - Streams need to be cleaned up and reworked to support full > asynchronous IOs, which could involve threads, thus engine tied > - Signals have been worked on starting with 5.4 (AFAIR), but never > activated by default. I guess the actual implementation lacks a bit > more reflection to be stable, and to finally propose signal managers > into userland. ext/pcntl should be somehow merged to core, and this as > well would involve engine work > - TSRM need to find love, or to find a better replacement, which would > involve a big engine work as well > - ... and so on > Some of the topics above are really big... :) > > Macro hell should be reworked as inlined functions, and I'd like we > start supporting C99 as well. > > Performance is a userland point. > API, doc, and clean things are developers points, and IMO, they are as > important. > > What about merging OPCache to the branch ? > This was talked about at PHP5.5 release, has never happened yet, and > doesn't seem planed. This could have a big impact on the engine > codebase. > What do you mean? isn't it already there. I'm also going to remove opcache code for old PHP versions in php-next. > I just cant believe we won't rework our API , fully and deeply, for > PHP-Next. > You and others are welcome. Once we merge phpng into master, we all may cooperate better. Thanks. Dmitry. > > Julien > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e0158b2f6ee92d104feb0b8a4--