Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102221 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30924 invoked from network); 11 Jun 2018 00:17:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jun 2018 00:17:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=levim@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.68 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.215.68 mail-lf0-f68.google.com Received: from [209.85.215.68] ([209.85.215.68:43002] helo=mail-lf0-f68.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/98-62758-0AFBD1B5 for ; Sun, 10 Jun 2018 20:17:37 -0400 Received: by mail-lf0-f68.google.com with SMTP id v135-v6so27874300lfa.9 for ; Sun, 10 Jun 2018 17:17:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O7Iz0M33wP0+Juud7N0MBV5Hcy3FwPvWVstEQ26AMUY=; b=ZP4ZOk+4S1aQk5zRUH3+f4OyKrB3LsoyrGMVn9Iz8+GzlsC42LMWcthFDmQEph5NiM StSm/PkLkBBJDUtH4ibHi+/b/IW1ulNH9kp1hZGsQnbl4azXMLNf6CEpDMj4sZ3HGSK4 wZ/I+iyCJuxg0XSUTHUMk9kTrX3AsX75loMu9eYTB53GSr/pJCqDOmAbqxKrMxTH/dhb 0O9pjnWObJtcvgILTCw8b32BDD1qD4HPZH2zbMA2LWkawh8rdIFt1jTpz/cPHrma64U5 7YhqGtTQRwQla/yMSjMP9or/JBtcY0K/BeYaxBDKOJ2LHavqsSCs/fG2HP9GsOOITV43 hQ9Q== X-Gm-Message-State: APt69E285q18OCeomCzzRMCkCatBYYRJT2LKfodgn18XNKv+pB3JG+SI MqiYCBRwgUmJVhgarYmN4QWnk7ZeAAQrBVU9L48= X-Google-Smtp-Source: ADUXVKJ1SavAurWrktRhPoOLmrBmyJeQe+Djq29pcqfdwVLhfNmiwP6YSpXin9MsDOw7vJXGVibfQu9L7UDi3bKc3Kk= X-Received: by 2002:a2e:249:: with SMTP id 70-v6mr8073783ljc.41.1528676253769; Sun, 10 Jun 2018 17:17:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 10 Jun 2018 18:17:19 -0600 Message-ID: To: Joe Watkins Cc: i@lvht.net, internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [VOTE] Fiber API From: levim@php.net (Levi Morrison) Replying to Joe's email because I didn't get the original. On Sun, Jun 10, 2018 at 1:09 PM Joe Watkins wrote: > > This is not ready for voting, please stop the vote. > > Bringing stuff to vote that is incomplete, where there is no clear > consensus, is dangerous. > > > On Sun, Jun 10, 2018 at 2:09 PM, Haitao Lv wrote: > > > Hello Internals, > > > > The RFC for fiber is now open for a vote. The RFC is available at > > https://wiki.php.net/rfc/fiber. > > > > Voting will be open until June 22th, 2018. > > > > Thank you. I don't think I've listed my complaints yet although I believe others already covered these: 1. I don't like `Fiber::` referring to the fiber running. I would prefer it being passed as a parameter. 2. As written and implemented this is not sufficiently different from generators. If fibers supported suspending/resuming C code as well then it may be powerful enough to justify it, however... 3. I don't feel this low-level building block is proven. Theoretically we should be able to build async/await functionality with it, which is I believe is the real goal. However, until I've seen it built, demonstrated, and critiqued I don't think we can claim the the low-level building block is sound. Sorry for not providing feedback sooner. Levi Morrison