Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121291 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 71296 invoked from network); 13 Oct 2023 01:00:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Oct 2023 01:00:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BB76A180041 for ; Thu, 12 Oct 2023 18:00:05 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS20473 216.128.176.0/20 X-Spam-Virus: No X-Envelope-From: Received: from mail.online-presence.ca (online-presence.ca [216.128.176.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 12 Oct 2023 18:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=online-presence.ca; s=default; t=1697158801; bh=f84ClH3rMxG7rnW2q3M0QJB+Mer9FxHZNTj1AfURvLQ=; h=Date:To:From:Subject:From; b=qQya3Dt0AUXsC1dz8UfVTW4ZVmDcVHFHpe8oKtfB99WUYirwSpKCK7Mtoc2KORZWI MP5pOrCK/cGAxTxLSUVTPkfKp6L6GAG3SllgBI5nFIuCQtCQM7enolKZukJEFtPHgG NQElsMHyvenz85CyrPLqLzpfjBrrXhapHhEvC+Ye3kpINoc2SLeygvT++8To2pzCMq W+R+3mws+khinfVMLVcvem88MSyQA1GyaMUqeusFebGb/65rUIecUTKT/jECvwi93k 2P+x+PAWnn/CZJbdaNwbdIgzi2WZ5J4M1pYtoHWDoTR43q4e5Qo6HACIAxHdUsfix0 x2205I6q/OHPA== Received: from [10.0.0.211] (S01064075c3d865eb.ed.shawcable.net [70.74.109.64]) (Authenticated sender: lanre@online-presence.ca) by mail.online-presence.ca (Postfix) with ESMTPSA id 07495104A25 for ; Fri, 13 Oct 2023 01:00:00 +0000 (UTC) Message-ID: <0b72d5e0-94dc-8837-bfd4-d2e24ab9db05@online-presence.ca> Date: Thu, 12 Oct 2023 18:59:59 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 To: "internals@lists.php.net" Content-Language: en-US Organization: Online Presence Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [PHP-DEV] Why did fibers get added to php core over something more fleshed out like swoole? From: lanre@online-presence.ca (Lanre Waju) I find it puzzling that the PHP internals have chosen to delegate this specific functionality to userspace implementation. Fibers, in my view, seem somewhat limited without the addition of a third-party library or, at the very least, the necessity to implement an event loop in userland. This raises questions, as it effectively obliges users to rely on third-party libraries to handle a fundamental feature rather than incorporating it into the core of PHP. Moreover, I'm curious about why PHPDBG doesn't implement the Language Server Protocol (LSP). Could it be due to its reliance on Xdebug? I came across this discussion on https://externals.io/message/78456, which makes me wonder about the decision-making process within PHP internals. It sometimes seems as though certain choices may not align with the best interests of the PHP community. I would appreciate it if you could provide insights into why this might not be the case. Lanre