Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113557 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34860 invoked from network); 16 Mar 2021 11:15:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Mar 2021 11:15:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E26921804D0 for ; Tue, 16 Mar 2021 04:09:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from 7.mo6.mail-out.ovh.net (7.mo6.mail-out.ovh.net [46.105.59.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 16 Mar 2021 04:09:22 -0700 (PDT) Received: from player763.ha.ovh.net (unknown [10.110.115.182]) by mo6.mail-out.ovh.net (Postfix) with ESMTP id C397C24472C for ; Tue, 16 Mar 2021 12:09:20 +0100 (CET) Received: from php.earth (mail-lj1-f179.google.com [209.85.208.179]) (Authenticated sender: peter.kokot@php.earth) by player763.ha.ovh.net (Postfix) with ESMTPSA id 5B9881C16D5C0 for ; Tue, 16 Mar 2021 11:09:20 +0000 (UTC) Authentication-Results:garm.ovh; auth=pass (GARM-99G003e136d241-c685-4fd0-9044-b2e2c2d06d06, 5925B2FF995264643300FB8550E8F7FAE5193DF1) smtp.auth=peter.kokot@php.earth X-OVh-ClientIp:209.85.208.179 Received: by mail-lj1-f179.google.com with SMTP id s17so19920482ljc.5 for ; Tue, 16 Mar 2021 04:09:20 -0700 (PDT) X-Gm-Message-State: AOAM5303KLENVYBBOgqv2K0uFkBbKVQS73H/n9mhPgF/xB+2fllD5+A7 dAle9oIROa5k5psyasZ48BO63YU3HmoqEQxXaz4= X-Google-Smtp-Source: ABdhPJx4T+RVFx/eSStTJ9eXFufQ1N7spERlsDmGplpqQTeTJgS8kJK0TFQ4GGuq7NSByFIg3H/kCtrkCls0yWOwnyk= X-Received: by 2002:a2e:505d:: with SMTP id v29mr2294664ljd.131.1615892959619; Tue, 16 Mar 2021 04:09:19 -0700 (PDT) MIME-Version: 1.0 References: <70951423-5e77-c150-6dce-dd3c62f8dc8b@php.net> <0b994a60-7970-605b-1657-d6ee732690e5@gmx.de> <5C73A1DE-E563-4F69-B8C7-6506F81D7345@trowski.com> In-Reply-To: Date: Tue, 16 Mar 2021 12:09:08 +0100 X-Gmail-Original-Message-ID: Message-ID: To: php internals Content-Type: multipart/alternative; boundary="000000000000da6cd805bda56521" X-Ovh-Tracer-Id: 10511401530553258442 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddgvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepgghfjgfhfffkuffvtgesrgdtreertddtjeenucfhrhhomheprfgvthgvrhcumfhokhhothcuoehpvghtkhesphhhphdrnhgvtheqnecuggftrfgrthhtvghrnhepfeejvdeigfeufedugfejieduffefgfekffffueetkeelkedvvedtudejjeefffefnecukfhppedtrddtrddtrddtpddvtdelrdekhedrvddtkedrudejleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejieefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepphgvthhksehphhhprdhnvghtpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth Subject: Re: [PHP-DEV] [VOTE] Fibers From: petk@php.net (Peter Kokot) --000000000000da6cd805bda56521 Content-Type: text/plain; charset="UTF-8" Hello everyone, I'm just adding a few cents into this discussion. I've voted "yes" because we don't have any other async stuff RFCs available nor in the preparation. PHP needs such functionalities very badly and very quickly to sort of speak. Adding a brand new extension in the core is maybe a strange practice because it usually should go into PECL first and after being adopted by the ecosystem it could be then moved to php-src after a vote. However, practical reasons show that PECL extensions are not first class citizens. In most cases adopting extensions could take even longer. With somehow similar logic, I've also supported FFI extension and even Jit RFCs already in 7.4. Regarding Swoole, Swoole is a great production-ready framework that provides such functionality also already today. It is definitely worth checking out from a user perspective and can live along the ext-fiber just fine, I believe. If Swoole won't be integrated in core (it is a separate standalone project), then hopefully, PHP core could learn and be inspired by Swoole as it's already implemented in production with unbeatable performance. Thank you to the RFC authors and everyone involved in making this happen. --000000000000da6cd805bda56521--