Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129321 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 7BFDB1A00BC for ; Thu, 20 Nov 2025 10:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763633927; bh=BFCdbbqh1CABHQfuVCJdAPCshyN5wM2K12tZzGcmNVM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Sj4dHm6PKIU7ZTgR6bddXg9DbhHusNhkExeXXahW8rX9EEDG5jUUEaj7Bno8vUxja 3EEwnfxC9bY1suwdabCC2kv79JEvnqyepLnYTFyEKx41gjOClIGihcmmW115WjrTQM P3Vh9FxSzb8XB75FmLkxycIulyrDh6KtLvtyqUOpakW7h+0mS4omHc8j7zCZON+azc tmbgqHbxEyyVl/TjLJrGd1HEFgDUERQBVxDzxB2386V6akuvlYqFYpGtK0zBJxU4ra 8LuWLPaHriOWNnt+KyLuCcDTpefyYl9G0Dx8a9DcI9QYXV0+7DqZifNpF4rFvehjG8 6xrILHAAQIdRQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 66B9A1804AC for ; Thu, 20 Nov 2025 10:18:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,T_SPF_TEMPERROR autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 20 Nov 2025 10:18:39 +0000 (UTC) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-640a3317b89so1102144a12.0 for ; Thu, 20 Nov 2025 02:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763633913; x=1764238713; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=aqY0OA708A78oFBbLDWorAd13zn+6WB9jamIoNknUoE=; b=gp/Ee+6syBCd/1895TsBPfYHuskfGabVUm5AQoyld0BgiYCOi1eulR7mm6i1G3ulAf 7luhvlYVKP4mvUxCg8pWfSm2RAv6EIWFSZ2NAnyqA5An3U29efGThq+Jb78UqjDJ2T8c ewoiuvdCauXVI3jrd0LnW16jNV4DJWZ7WcnAlRRKdvs+YZhyVxvhDJz0Vwmt6L2m38od KvktyD9rDj5J0hDOnEwI1EERUrtFjLLPSMemKV8Ee4ad5LdTegZjxxrZFdpausm97kbm vGV5HsBITr+yrgbGgyAKot4rUO8Bz+it+U1ZIqPAkTqH3SueSwFi7Ii2hbRf0L5F2GgR 0qiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763633913; x=1764238713; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aqY0OA708A78oFBbLDWorAd13zn+6WB9jamIoNknUoE=; b=kMBtEHsRAYNvnMgbzaSadPmMylEgIBcg2QQBk2Sfz6N1tjFNWDov03RISB2SapCSly j3+ONpKqQV9XZX6Hg/pXpbYqr0fa08vVBQYKub1Ddv7FV6vYlS8rmx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62f3a-b7654d37d44mr243067666b.24.1763633912556; Thu, 20 Nov 2025 02:18:32 -0800 (PST) Received: from ?IPV6:2a0e:97c0:38f:0:5697:3845:aa07:4c4? (luna-4c4070aa548379650000f.net.as198747.daniil.it. [2a0e:97c0:38f:0:5697:3845:aa07:4c4]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b7654ff3bbesm169600566b.51.2025.11.20.02.18.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Nov 2025 02:18:32 -0800 (PST) Message-ID: Date: Thu, 20 Nov 2025 11:18:30 +0100 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [VOTE] True Async RFC 1.6 To: internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: daniil.gentili@gmail.com (Daniil Gentili) Hi, >> Hello Bart. >> I am ready to agree with every word. >> >> Participation from a working group, framework representatives, and the >> ability to adapt libraries in advance would remove the concerns that >> are currently causing fear. This is probably the only effective >> process for developing and introducing such a feature. > > Then two days later, you decided that no more discussion was > necessary, and opened a vote. > > This feels like a complete contradiction. > > Let's find a way to get that working group set up, and get people from > other projects involved. > My key takeaway from Bart's message is: > Moreover, even though there are quite a few people in the community who have the knowledge required because they either develop or work with aforementioned libraries or extensions, (almost) none of them seem to be involved in discussing this RFC. > For an RFC that can drastically change the way we develop applications I would expect more experts on this matter to be involved. Ideally, PHP core developers, library developers & maintainers, IDE developers, ..., would develop software using this branch to at least get some feel for the paradigm and this RFC in general. I absolutely agree with this take, however, so far, the discussion around this RFC has been, in my opinion, mostly bikeshedding, with theoretical correctness proposals that are an absolute nightmare in practice (like structured concurrency), proposed by people that admittedly have never written extensive amounts of async code in languages using multiple paradigms, and thus haven't: - Experienced the pain of writing async with colored functions - Experienced the footguns of structured concurrency - And on the other hand, haven't experienced the pleasure and simplicity of safely writing async code in languages like Go, or in PHP using AMPHP (which use uncolored and unstructured concurrency, the kind proposed and championed by edmond) While a working group *can* steer the conversation away from theoretically correct but practically unusable approaches, that can happen only if - The correct people (i.e. async library maintainers, or people that write async logic every day in multiple languages like myself) are present - They are given more weight than the average PHP developer who hasn't used async much if at all, and can only make theoretical proposals not based on practice and experience I'm afraid that given the current state of the PHP community, which is largely new to async, the quality of the conversation in a working group would not be much higher than the one I'm seeing in this RFC, and would just protract even longer the agony of design by committee, where in reality what's needed is a single, clear and correct vision (which Edmond has), without influences from unexperienced people making proposals based purely on abstract/theoretical PoVs. Regards, Daniil Gentili.