Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102290 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95951 invoked from network); 18 Jun 2018 00:39:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jun 2018 00:39:01 -0000 Authentication-Results: pb1.pair.com header.from=shinji.igarashi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=shinji.igarashi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: shinji.igarashi@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-lf0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:41527] helo=mail-lf0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/41-29356-32FF62B5 for ; Sun, 17 Jun 2018 20:39:01 -0400 Received: by mail-lf0-f53.google.com with SMTP id d24-v6so22020588lfa.8 for ; Sun, 17 Jun 2018 17:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pbVY/ITBQiIxsB+xEq876frcXTvfLd1FGMuPehP1UJA=; b=n/HkNBvHPY5vXa5BdPnmJ/Tl4EcsOLGpFcb8kO7B9AtuMQK2EABs0AWZMh0XopjFM3 rtdxsvuIiI1tQ2QjurnJdbaGvvuXmB4cOpwtZglWrllhosGO7lVJAvYjEyuJJ9lzwbO1 zTHd39tddzao++/dKIfoD/ZG8epjcB0WS2l55p8JX8twZFrmiuzqDsxa5wpeir+eWLxK L17j2xCtmsYTYRLtdENwG0Y6albhFFCi4E+fnBVp9AQSx1/9xIRelK+MKHxNFiXi5M7k 0kfnTvTW5+ZUViLspbQaEk5t9Ru4Ul40NJIueDj6sXA0QnVHReYgT+nsUgZmbyGjfuZR Z38w== 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=pbVY/ITBQiIxsB+xEq876frcXTvfLd1FGMuPehP1UJA=; b=pqK5a2Ck/wMHe8kC8ShSaIv/13ABUmwWY6q6+ypHYZw7LXC/proCmyTqJRwQODUSN8 tSNioAMssKlwg3fsNOiF9/qBIMU0Afxf4Mr79000aj6++L6zB8GY3Nsphj+FF+SStCUp jaovqvfIerMaGy9LEiSAkiiPsBa+MLwCVwoCIOOx6MMj3Nu0oNiASUdhHebinfC7d3fG 7TmtEV/D4V5Nl7cXXxPIs0w/zp/Umo0p0vwDMDqrwh04b+LipnS4No3wSG7+aBphOtUL 9mCzWxOtJS/5BBn7VAuIK/CVq51s4m3ENW/fUNQQP/Mq586gHrhKHGar8U5VAoYBQcTf p1yQ== X-Gm-Message-State: APt69E2PQCpk+HuISf2Lm3F5TJfOcG4RzIi5/tkCB+PN8RShUV8DqGgP 1hjZaSU0pOWSy5DC3rM+DncwtU9agrtbB4l4Yv8= X-Google-Smtp-Source: ADUXVKJHPt72QIe8sGXnymK14onW8mFIMEtkJvnRSqrGZqYveMHASZJj+rkRclIfSWH7PV4ZHPgApfsIUJW2YLEbHV0= X-Received: by 2002:a19:5a14:: with SMTP id o20-v6mr2024575lfb.105.1529282337021; Sun, 17 Jun 2018 17:38:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 18 Jun 2018 09:38:44 +0900 Message-ID: To: "S.A.N" Cc: internals , i@lvht.net Content-Type: multipart/alternative; boundary="00000000000075a5d4056edfcaa2" Subject: Re: [PHP-DEV] [VOTE] Fiber API From: shinji.igarashi@gmail.com (shinji igarashi) --00000000000075a5d4056edfcaa2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I'm a fan of this RFC. It seems that there is no time to finalize this RFC during the alpha stage. Maybe the true voting will be postponed to the next version, if no more works are made within a few days. Haitao, do you still have the motivation to bring this into core? If you have no time to brush up the RFC (in english...), how about committing the RFC text into a repository? There are some people supporting the concept itself. Maybe they can help you to make the RFC more presentable by sending PR. Or, if you don't have reason to continue the RFC anymore, then say so... Someone can continue your work. Even if there are people supporting the concept, the current choice of implementation seems to be disliked. Haitao, why do you stick to the way switching VM stack only? Yes, the way switching also machine (C) stack would increase memory consumption. But, to borrow your expression, Ruby's Fiber uses this method. Ruby switches both VM stack and machine stack in its implementation of Fiber. If yielding from internal callback is important to pass the voting phase, I think the machine stack switching should be considered more seriously. The machine stack switching also has its own issues to be solved. - Measuring stack consumptions in real world applications. - Finding reasonable excuses for lacking portablity. (Is this acceptable to core feature or bundled extension?) - Still no sufficient explanations bringing it into core, even if above problems are cleared. I want to see the future that traditional ordinal PHP library is asynchronized reasonably with this kind of feature, like this interesting work. https://github.com/joelwurtz/doctrine-async Cheers, Shinji IGARASHI 2018/06/13 =E5=8D=88=E5=89=8D8:14 "S.A.N" : Maybe someone can help in the finalization Fiber. Haitao Lv, in pull request asked for help from Dmitry Stogov and Nikita Popov, but no one answered him. https://github.com/php/php-src/pull/3203 All popular web programming languages (JavaScript, Python, Ruby, Lua, etc..) already implement userland async runtime. Thanks. --=20 PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php --00000000000075a5d4056edfcaa2--