Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127673 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 3F9921A00BC for ; Mon, 16 Jun 2025 13:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750079401; bh=XjVIsBG4E0qo1G/heK8d0byKXhCHhF9pXgKwsInvntA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WBIeasl6djMW7TeG2dZaDKegnNdCwp5/GQVl12MVuzrWlhk/sauohXoJwuDmlTbUn lJqTbJeF9wz2cxar699EdzoKNEUWhgPXRWcqSHjl+tezEIW+CgtszvyvcsjA8BuwbC O3Ji2riDGDwDVAAOn7ALaTpt5aJ9S17CyQG+G3qxW7o9G/kQGNSVOXaHp9r4Yh+i/Y CSM6btxxx8ooY7gzl3WvcBU/TptfzP2ZQa/r3G171prdhHvZbmFAkqTsh1zWe7Zkkd yHSfcXtln42wurqYirErLbwAy6CpID8IZz0noKbDcn9Zeil+bOqYH5vAmnIEqg4cn2 oW5z03/LWafMg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7BAED180057 for ; Mon, 16 Jun 2025 13:10:01 +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,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 ; Mon, 16 Jun 2025 13:10:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1750079519; bh=hiCwEIjJJkZZnkp44HrAGZxOb/pmi28XGdthVPSxKwA=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=kiYhVJTLMtp2exRcbJw+fqnBD1IiPkf5PpaeSSYcrbYqCHxXod+X8TJ4wPmpKVI+V AlgkXlIywPWQbENMvh3xVfBQ3aBOq+PLwZUGnlr1B205znJUkx1q6qe/URx0upDZ72 k4QjyHCowwYpGVUozffvUC1DyJqAmK9KEZwbozt/GLRr28Oa1uhXpxSq48kP9GlO9n MQdVR/IXz1vGJXVqML+sQnyvbEKpa0WzBlqh0XwNpjwfGKl9TSg/mOCmPUKyM2QcFt q7sxdZl0nWIrr6oBIcNmo6i1EaNbXLUniH1DCEEKsnwQRoul9dbM5wlw/W+NvApgsG 5MvJZhErkZisQ== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 16 Jun 2025 15:11:58 +0200 To: wheakerd Cc: internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] RFC Discussion - CLI-Only Development Mode and AOT Compilation Architecture In-Reply-To: References: Message-ID: <56015e5f6d79cf95d4bed826e28a555c@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-06-16 09:05, schrieb wheakerd: > To make PHP compilable in AOT mode, certain dynamic features must be > restricted or restructured. The following are required: > > […] > > #### b. **Unified Standard Library** > - Procedural global functions (e.g., `strlen`, `array_merge`) are > consolidated into base classes (e.g., `Str::len()`, `Arr::merge()`). Why would that be required? > I would like to clarify that I am currently not in a position to > implement > this proposal independently, as it would involve deep modifications to > the > PHP runtime, compiler pipeline design, or extension interfaces. > > This RFC is submitted with the intention of initiating structured > discussion and community exploration around this long-term direction. I > am > willing to contribute research, coordination, and specification work if > there is interest from core contributors. > > I greatly appreciate any feedback, suggestions, or interest in > collaborating on prototyping or feasibility assessment. I believe you are greatly underestimating the effort that would need to go into this proposal. Generally speaking from experience a proposal where the author does not have the knowledge / capability to do the implementation - or at least a clear implementation plan - will go nowhere. See also: Generics. Best regards Tim Düsterhus